• Resolved Blipp

    (@blipp)


    I need to create a form that when submitted directs a user to one page if a field on a CF7 form contains a certain set of numbers, to another page if not.

    Alternatively this could perhaps be done on the page where unless the field contains a certain set of numbers the form does not submit, but instead gives an error message, inviting the user to try again.

    Does anyone know how this might be possible?

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Still need to think this trough, but I believe here’s a step in the right direction:

    You could use the ‘wpcf7mailsent’ event to determine which URL should be visited. But first you would need to figure out if the posted data can still be accessed via JS after submitting the form.

    about the wpcf7mailsent event

Viewing 1 replies (of 1 total)
  • The topic ‘Conditonal redirect’ is closed to new replies.