Trigger validation rules for a field when focusing on (going to) the next one

Home Forums Quform WordPress Trigger validation rules for a field when focusing on (going to) the next one

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18782
    diegocanal
    Participant

    Hi Ally,

    I would like to validate fields when moving to the next one instead of triggering the validation when clicking on the Send button.

    Ideally it would be great if a class could be added to the field (input element) when validated (the value is correct) so I could add a tick sign to the right of the field.

    Thanks,

    Diego

    #18794
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18798
    diegocanal
    Participant

    Hi Ally,

    Thank you very much for such a thoughtful response. I will try to implement a validation library or jQuery. In the meantime I may use your workaround.

    I really appreciate your help.

    Thanks!

    Regards,
    Diego

    #18810
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18815
    diegocanal
    Participant

    Hi Ally,

    Thanks for the improved piece of code! I appreciate it.

    I hope a client side validation functionality will be added to Quform sometime in the future, it would be very interesting from a UX perspective.

    I really appreciate your help.

    Regards
    Diego

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy