Skip Navigation

Disabling AJAX Upload in CRED Forms stops forms from uploading data altogether

Resolved

Reported for: Toolset Forms 1.9.5

Resolved in: 1.9.6

Topic Tags: CRED API, Toolset Forms

Symptoms

There is an issue when you disable the AJAX upload mechanism in CRED Forms, using the cred_file_upload_disable_progress_bar filter. In this case, when the form is submitted, the following error is displayed:

The post was not saved because of the following problem:
image Please enter a valid URL address pointing to the image file.

Workaround

1. Download and unzip the patch file.

2. Upload the unpacked files into the following folders found inside the CRED plugin’s folder:

  • Put asset_manager.php into the ../cred/application/controller/ folder.
  • Put credfile.js into the ../cred/public/js/ folder.
  • Put file_ajax_upload_manager.php into the ../cred/application/controller/frontend/ folder.
  • Put file_upload.js into the ../cred/public/js/jquery_upload/ folder.
  • Put toolset_forms.php into the ../cred/application/controller/validators/ folder.
  • Put Form_Builder_Helper.php into ../cred/library/toolset/cred/embedded/classes/ folder.

Comments are closed