Home › Forums › Quform WordPress › Trigger validation rules for a field when focusing on (going to) the next one
- This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago by
diegocanal.
- AuthorPosts
- April 28, 2016 at 8:19 am #18782
diegocanal
ParticipantHi 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,
—
DiegoApril 29, 2016 at 2:40 pm #18794Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 29, 2016 at 10:56 pm #18798diegocanal
ParticipantHi 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,
DiegoMay 2, 2016 at 2:52 pm #18810Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
May 2, 2016 at 4:44 pm #18815diegocanal
ParticipantHi 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 - AuthorPosts
- You must be logged in to reply to this topic.
