Menu
I’ve a page which renders a group of input fields x times depending on the user’s choice of x from a dropdown (1-6).
I want to validate their input (mandatory fields) so I do this using Javascript with a function IsEmpty to which I pass the field name and text to display in an alert.
I can’t concatenate a string with the field name (e.g. lastname_ + ’01’) as I receive an error that object doesn’t exist.
Can someone please explain how I can perform validation on the dynamic fields?
Thanks in advance,
Alan