Number of form fields with same name query
Hi there,
I've written a script to add checkboxes to a page and the code works ok.
I'm in the process of putting some error handling in however I've hit a slight niggle.
If I use the following to reference a formfield by name is there a quick way to check if there's more than one field with the same name?
thisField = this.getField(theBaseFieldName);I thought I might be able to check thisField.length to see if it's greater than 1 but unfortunately not. I guessing it's because of the way I'm refering the object. Please can someone point me in the right direction?
Thanks in advance.
