Can anyone tell me how i can change which attribute on my form field
triggers the validation?

currently it appears the be the name attribute. So in my Rails app
using Rails helpers, it sets the name to somthing like formname
['fieldname'] and the whole name.

in my script if i do something like

rules: {
  formname['fieldname]: 'required'
}

etc....it causes the script to break.

I need a workaround if anyone has ever come across this problem..

Thanks in Advance

Reply via email to