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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attiks’s picture

Patches are welcomed

thekatic’s picture

Status: Active » Needs review
FileSize
1.03 KB

And here is the patch. Small but it works.

attiks’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.