An error has occurred while validating the configuration settings

posted by | Leave a comment

Because we are making a validation processor, this processor will only act at the pre-processor stage described above.

This will allow us to check a field value, and if it is not valid return errors.

The second file will be for the processor’s settings UI. In the main plugin file, we need to use the “caldera_forms_get_form_processors” filter to declare this processor’s configuration.

You can change the trust settings of certificates to allow specific actions.

Or you may need to see if a field’s is in a certain range.

Another use for this type of processor is for adding invite code functionality to your event registration form, or user registration form created with the Caldera Forms Users add-on.

I like to have a separate function that does the actual check if the value is valid, that way, if needed I can reuse that function elsewhere. You might be able to use a hardcoded array here, or you may do a database lookup.

Here is the simple validator function I created: This function is probably not useful to you. Now that we have a way to perform the validation, we can create our pre_processor callback that uses it.

Leave a Reply

accommodating people hidden disabilities