Ok, I think I’m onto something. I can see in the $fields array that eForm makes note of any classes that are assigned to a form element. You can see here:
Frequency_class=showWithdraw
However, it doesn’t know that not all of the related elements may not have the same class(es), as you can see in my previous post.
So I guess my question has now changed. Any idea how to keep eForm from fiddling with the class names in the form? If everything passes validation, it’s fine, because it has no reason to redisplay the form. But if there’s a validation error, eForm redisplays the form showing the errors, but has now made all of the css classes for that particular element the same.
Any help would be much appreciated! By changing class names it is breaking some jQuery functionality I’m trying to use.
Hello,
I ’up’ this post, because eForm change my class name, and I find a solution, just choice a differente ’name’ and unique for each of your ’input’ or other ’radio/button’ elements.
That’s all, I hope this solution (very simple) can help someone else.
Good day.
Low.
Low