I've got a form that's using nested forms, with the following type of layout..

[radio] option 1
   [text] value 1
   [text] value 2

[radio] option 2
   [text] value 1
   [text] value 2

[radio] option 3
   [text] value 1
   [text] value 2

Each of the groups is a nested form, so the form element names are in the form of nestedform.property. I would like to add an onclick to the text fields so that the radio button for that group is selected if someone starts entering text in the value1 or value 2 fields. The problem is that the field names have a period in them, so javascript is thinking there's another object in the hierarchy. Is there a way to escape or quote the name of the field? Or another way to identify the field?

Thanks,
Michael


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to