Contact Form 7
can I use validation (required fields) for custom button? (1 post)

  1. xraymutation
    Posted 5 years ago #

    there is an issue:

    I have created quite a big form. I've sliced it into pieces and converted into 4-step form. I was wondering if there is any class within Contact Form 7, I could attache to the 'Next step' button and use just to validate required fields in my 'step pages'.

    What I have now is regular 'submit' button at the end (Step 4). If user would leave required field empty, form generates general error message (yellow) and user need to keep pressing created by me 'Go back' button to get to place where red error message shows up on one of the previous steps.

    Anyone came across that issue?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic