hide/show sections

By: Doug Tree | Asked: 10/14/2024
ForumsCategory: Code Snippetshide/show sections
Doug Tree asked 1 month ago

Any known code snippets to prevent values from being cleared when hidden from conditional logic?

1 Answers
Victor Font answered 1 month ago
I hide/show sections regularly on forms. It never clears values. I have no idea what you're doing to cause that. When you pass a value to a shortcode like you are, it refreshes the form as a new entry. You're definitely using the wrong approach. Why don't you just use jQuery?

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
crossarrow-right