[resolved] [Plugin: cformsII - contact form] Cforms II selects wrong input when returning errors through AJAX r (3 posts)

  1. JasperX
    Posted 8 years ago #

    I have a problem with the CformsII plugin on WP2.3.3.

    I have 5 inputs (track, artist, album, your email and Captcha Security), but when I don't enter anything in the form and just hit Submit, the form perfectly returns the manually entered error values I have entered into the Cforms settings, but the cursor does not jumps into the first input that returned an error, but the 4th. I cannot show the website yet, but I have made two screenshots. This is the regular state of the form:

    Normal state

    And this is after hitting submit, as you can see the cursor jumps to the 4th input right after hitting submit.
    After submit

    My question is very short and sweet: Why?


  2. olivers
    Posted 8 years ago #

    ...because that was the way it was coded at the time :-)

    But you raise a good point and I can't even remember why I had it this way and not jump back up to the first missing/false entry.

    It'll be fixed in the next release. Shortly.

  3. JasperX
    Posted 8 years ago #

    Thank you! That'd be great :)

    Thank you for the prompt reply as well.

Topic Closed

This topic has been closed to new replies.

About this Topic