I made a form that gets send to my email.
now there is a a droplist box in which there is an options of afew, lets say colors, and at the end there is the option “Other” in which I want a textbox to apear beanth so the client can write the “color” he wants.
anyidea how to make it?
Im using VBcode with ASP.NET
if you need my code please let me know
thank you in advance
You can set
AutoPostBack=Trueand then handleOnSelectedIndexChangedevent. In the event handler check if the DropdownList.SelectedItem.Text=”Others” and then show or hide the textbox.Use update panel to avoid the full page postback.
And in the codebehind