if you are using prototype:
function myfunction(){
var el = $('myInput').value; //gets the value of the drop down
if(el == 'select'){
$('mytext').style.display = "";
}
}
textarea
strin
Conceptually, this can be done this way :
For the options your users should enter, enclose a textarea field inside
a DIV that is by default on visibility:hidden CSS style.
On the dropdown, trigger the onChange Javascript event to check out if
the 'dropdown' option is selected. If yes, change d
hi i would like to enable users of my application to fill in a form to
create a questionnaire. Now one of the fields enables them to choose
the type of input, for example text, drop down etc. I would like that
if they select drop down another field would open for them in which
they could enter the