I get this notices on every webform page when site is in Read only mode:
Notice: Undefined index: details in clientside_validation_webform_add_webform_validation() (line 139 of .../sites/all/modules/clientside_validation/clientside_validation_webform/clientside_validation_webform.module).
Notice: Undefined index: details in _clientside_validation_webform_webform_validation() (line 359 of .../sites/all/modules/clientside_validation/clientside_validation_webform/clientside_validation_webform.module).
It is generated because webforms in this mode are not displayed and validation is active for them. So one of the solutions could be to show all webforms, and only for viewing.
Can this be handled but without showing any webform on a site?
Any suggestion would be helpful.
Comment | File | Size | Author |
---|---|---|---|
#2 | clientside_validation-read_only_fix-2114207.patch | 1.03 KB | thekatic |
Comments
Comment #1
attiks CreditAttribution: attiks commentedPatches are welcomed
Comment #2
thekatic CreditAttribution: thekatic commentedAnd here is the patch. Small but it works.
Comment #3
attiks CreditAttribution: attiks commentedThanks!