Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.9K
2 Posted Topics
You could have hidden fileds beside the from fields and unhide them to display a error message using javascript when the from is submitted.
*-The html / asp part -* <asp:DropDownList ID="DropDownList" onchanged="enableTextBox();" runat="server"> <asp:ListItem Text="" ></asp:ListItem> <asp:ListItem Text="Yes" ></asp:ListItem> <asp:ListItem Text="No" ></asp:ListItem> <asp:DropDownList> <asp:TextBox ID="TextBox" Enabled="false"></asp:TextBox> *-the javascript part-* function enableTextBox() { if(document.getElementById("DropDownList").value == "Yes") { TextBox.disabled == false; } }
The End.
Hiky