hello all,
I have three fields - one text, one drop-down and one hidden, all dynamically generated through JSP. I would like to have the hidden field be populated by either the text value or the drop-down value input by the user.
<input type = 'text' size=5 name = 'IDt'>
<select name = 'IDs'><options....>etc.
<input type = 'hidden' name = 'ID' value = ???>
Actually, there are sets of these 3 fields, the number of
which is determined by a certain condition, so I need to also dynamically generate the validation script.
Is javascript the best option for this? Or is there an better way?
Thanks for any suggestions!
vj
I have three fields - one text, one drop-down and one hidden, all dynamically generated through JSP. I would like to have the hidden field be populated by either the text value or the drop-down value input by the user.
<input type = 'text' size=5 name = 'IDt'>
<select name = 'IDs'><options....>etc.
<input type = 'hidden' name = 'ID' value = ???>
Actually, there are sets of these 3 fields, the number of
which is determined by a certain condition, so I need to also dynamically generate the validation script.
Is javascript the best option for this? Or is there an better way?
Thanks for any suggestions!
vj