• Resolved synapseresults

    (@synapseresults)


    Hello, we are testing out the give plugin and discovered that the server-side form validation is displaying and the form is submitting regardless if fields are filled out with good or bad data.

    We did hook into custom form fields to checkout the returned validation errors and do see them being produced but they are not showing on the frontend form.
    https://givewp.com/documentation/developers/how-to-create-custom-form-fields/

    Example of the returned required_fields below:
    Array
    (
    [give_email] => Array
    (
    [error_id] => invalid_email
    [error_message] => Please enter a valid email address.
    )

    [give_first] => Array
    (
    [error_id] => invalid_first_name
    [error_message] => Please enter your first name.
    )

    )

    Any insight on why this is not working? We are evaluating this for a project and potentially future projects.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Form Validation not Working’ is closed to new replies.