Show field when there's an error.

By: Brian Penner | Asked: 05/03/2022
ForumsCategory: General questionsShow field when there's an error.
Brian Penner asked 2 years ago
Is there a way I can show a field when there is an error on a form? It's a multipage form that has a vehicle VIN field that I do a check on from with the validation. I'd like to show a confirmation field if there is an error that would require them to confirm before proceeding. 
Bobby Clapp replied 2 years ago

I suspect you can create a targeted trigger based on how the error occurs. Is the error shown on a submission or is it a custom error? You can do some jQuery.... hasClass do this based on jQuery document load.

Bobby Clapp replied 2 years ago

This might be an example you would merge with the above ->

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community