Skip Navigation

PHP Notice when a non-Toolset User Field is part of the Toolset Forms scaffold

Resolved

Reported for: Toolset Forms 1.9.6

Resolved in: Toolset Forms 2.0

Symptoms

When a User Field (not created with Toolset) is included in a Toolset Form’s auto-generated content, the following PHP notice is logged when you submit the form on the front-end:
PHP Notice: Undefined index: save_empty in /cred/library/toolset/cred/embedded/classes/Form_Builder_Helper.php on line 1527

Specifically, this happens when you added the third-party party user field as a checkbox to the form’s auto-generated content.

Workaround

The issue will be fixed in a future release of Toolset Forms, until then this file can be downloaded, unzipped and used to replace the same file in the ..plugins/cred-frontend-editor/library/toolset/cred/embedded/classes/ folder.

Comments are closed