Hey there,
Gurcharan Singh a écrit :
> Form.getInputs('FormName',['checkbox']). But on the submission of the
> form I'm getting the error message - HTML has no properties.
Try Form.getInputs('FormId', 'checkbox').
a) You need the *id* of the form, not its *name* (btw, XHTML 1.0
deprecated 'name' attributes for just about anything except form *fields*).
b) You pass a string, not an array of strings, as a second argument.
'HTH
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---