Drupal Association members fund grants that make connections all over the world.
Hi, can you tell me please, why my standard drupal form works with CS module, for example this: http://www.auto-inzeraty.eu/user/register but my custom form NOT? http://www.auto-inzeraty.eu/auto-inzerat-zdarma
Where is any problem?
Of course, I have this custom content type allowed (enabled) here: http://www.auto-inzeraty.eu/admin/config/validation/clientside_validation/content-types
ok problem is with field group, if I set the group as collapsible or collapsed, CS module doesn't work. If I set group as open, that is worked.
Actually this works as designed, and can be changed by a setting.
Clientside Validation does not validate hidden fields, as we do not know if the user will ever get to see the hidden field (this is to support modules like Webform Conditional)
You can either change this for every form, or only for your custom form:
For every form:
For only one form:
Either follow the same steps as described above and fill in your form id in the textarea:
Or follow these steps:
And you're all set. This way the hidden fields will be validated as well.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.