"tvr" wrote on 10/11/2003:
Hi,
Is there any possible way to submit only a selected fields in a form
using javascript?
Suppose I have 20 dropdown menus and users select values from
only 2 menus. I want to submit only these two values but
not the rest. Is this possible?
Thanks
tvr
If you can distinguish between a menu with a selection and one without
(a 'None' option, for example), then yes. For controls to be
submitted, they have to be successful. To be successful, one of the
conditions is that it is enabled. Just check all the fields and set
the 'disabled' property to true for those that haven't been
'selected'.
Mike
--
Michael Winter
M.Winter@[no-spam]blueyonder.co.uk (remove [no-spam] to reply)