Skip Navigation

Toolset Forms Conditional breaks while listening to an AJAX Media Upload field

Resolved

Reported for: Toolset Forms 2.1

Resolved in: 2.4

Symptoms

Toolset Forms allows you to conditionally display parts of the Form (wrapped in cred_show_group shortcodes), based on custom values compared to existing form fields.

If you happen to evaluate a field which uses AJAX (such as Media Upload or File Upload), then the condition you set will break during the upload process. As a result, the condition is applied for a short moment, but immediately afterwards, fails.

Workaround

There is no direct workaround to this, however, it can be resolved by not using the AJAX upload mechanisms that Toolset Forms offers for the related Fields. This can be done using the cred_file_upload_disable_progress_bar.

This issue will very soon be obsolete. This is because we are working on implementing new methods to add Media and Files. Once this is done, the current AJAX upload will be removed, resolving this problem.

Comments are closed