Posts
 
Reputation
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
~681 People Reached
Favorite Forums

2 Posted Topics

Member Avatar for ratanji

You could have hidden fileds beside the from fields and unhide them to display a error message using javascript when the from is submitted.

Member Avatar for Taywin
0
156
Member Avatar for HayLift

*-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; } }

Member Avatar for Hiky
0
525

The End.