• Resolved aislanjames

    (@aislanjames)


    Hello!
    I’m managing to send data filled in a registration form, through an API.
    My problem is in the error response, when I am informed that some data already exists in the database. Through the Log I see the response, but the Contact Form does not display when there is this error.
    Is there any configuration or change that I should make, so that CF7 to Any API forwards to CF7 the errors received by API Response?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello @aislanjames

    API side validation you have to manage by applying validation to CF7 fields
    its complicated to manage validation from API side

    CF7 form can’t manage API side validation therefor form will work normally and it will manage the validation which applied to CF7 fields only

    Thanks

    Thread Starter aislanjames

    (@aislanjames)

    You’re telling me that I can create the form through ‘CF7’, I can create the connection to the API through ‘CF7 to Any API’, but if I have an ERROR return via ‘API Response’ (seen in CF7 to Any API), won’t I be able to have this error message displayed on the front of the site, replacing the success message (default ‘CF7’)?

    Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello @aislanjames

    Exactly moreover our plugin works on “wpcf7_mail_sent” which means when cf7 form submit successfully and mail sent successfully then after our API call fires so its not possible to add or manage validation from API side

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error received by the Response API’ is closed to new replies.