Yeah, I'll give that a go, see if disabled will do the trick. Cheers guys..
> -----Original Message----- > From: Steve Onnis [SMTP:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 4:28 PM > To: CFAussie Mailing List > Subject: [cfaussie] RE: [OT] Remove field from form with JS > > Taco > > Depending on browser requirements, you could try hiding the checkbox and > disabling it. If a form element is disabled, it wont get submitted with > the > form > > Steve > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of FLEUR, Taco > Sent: Thursday, August 21, 2003 2:21 PM > To: CFAussie Mailing List > Subject: [cfaussie] [OT] Remove field from form with JS > > > I have this form with X fields, next to each field I have a checkbox, when > checked I would like to submit the field, if not I want it *removed* from > the form. Can this be done? > > I thought maybe document.frm1.elements[i] = null; > would do the trick? > > Cheers, > Taco > > > > > -------------------------------------------------------------------------- > -- > ------- > > The contents of this message are the views of the Author and do not > necessarily reflect the views of SUNCORP METWAY LTD ABN 66 010 831 722. > > The content of this e-mail, including attachments is a confidential > communication between the Suncorp Metway Group and the intended addressee. > Any unauthorised use of the contents is expressly prohibited. If you have > received this e-mail in error please contact the sender immediately and > then > delete the message and any attachment(s). > > http://www.suncorp.com.au > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
