help with Conditionally hide/show a field

By: Nicolas Stergio | Asked: 03/07/2023
ForumsCategory: Code Snippetshelp with Conditionally hide/show a field
Nicolas Stergio asked 2 years ago
Hello. Their is this code for hide/show a fied. https://formidableforms.com/knowledgebase/javascript-examples/#kb-conditionally-hideshow-a-field-based-on-the-selected-country-in-the-address-field But it is not working with the file upload field. also on the documentation theirs is not info on how to target that field. I just want to show a text field when file is uploaded  i just need to know with text(code) to change. thanks for help in advance
3 Answers
Victor Font answered 2 years ago
Why are you using JavaScript instead Formidable's conditionals? To target the field in JavaScript, use your browser's inspection to get the ID of the div wrapper to hide it.
Nicolas Stergio answered 2 years ago
Formidable's conditionals do not work with file upload and date fields. There is no option to target those fields. and i do not want to hide the field. (or maybe yes) i want to show (inhide) the field after the file is uploaded Thanks for your response. very nice of you.
Nicolas Stergio answered 2 years ago
Formidable's conditionals do not work with file upload and date fields. There is no option to target those fields. and i do not want to hide the field. (or maybe yes) i want to show (inhide) the field after the file is uploaded Thanks for your response. very nice of you.

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