Skip Navigation

Custom CSS added twice when a CRED custom validation triggers

Resolved

Reported for: Toolset Forms 1.9.2

Resolved in: Toolset CRED 1.9.3

Topic Tags: Toolset Forms

Symptoms

When you use Custom JS or CSS code in a CRED Form where you also use Custom PHP Validation, your Custom CSS or JS will be added twice to the page’s source code when the Form’s PHP validation triggers.

Workaround

This issue will be fixed in the next release of Toolset CRED.

In the meantime, you can download this file, extract it and replace the asset_manager.php file in the /plugins/cred-frontend-editor/application/controllers/ folder.

form_builder_base.php file in the /plugins/cred-frontend-editor/application/controllers/ folder.

base.php file in the /plugins/cred-frontend-editor/application/models/form/ folder.

post.php file in the /plugins/cred-frontend-editor/application/models/form/ folder.

user.php file in the /plugins/cred-frontend-editor/application/models/form/ folder.

Please remember to keep a backup of your site and database before doing this.

Comments are closed