Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes the filter that removed gf max files validation (#2104)
- This solves #2086 - The edit entry validation for max files works but after the user clicks edit entry. - The issue here is the files are uploaded to the uploads folder before they are validated - Gravity forms already has a good ajax validation for this part but we have a filter that removes that validation in GravityView `add_filter( 'gform_plupload_settings', array( $this, 'modify_fileupload_settings' ), 10, 3 );` - It says that it was added because our custom validation already handles that so we don't have a conflict ( I tried to find that conflict but couldn't) - So we can leave it as it is and we would have ajax validation (gf validation) and also a custom validation after the user clicks update (Our validation) - Or we can keep the filter that removes gf validation and build our own.
- Loading branch information