Forums

Hide multiple (required) fields

pincoder 21 Aug, 2013
Hey,

First of, thanks for this awsome component! i love it!

I s*ck at JS, but i've been following this guide to make a hide a field when a checkbox is not checked
http://www.chronoengine.com/faqs/2645-how-can-i-showhide-a-textarea-when-a-checkbox-is-clicked.html

So i have a checkbox: "Company" and when you check this box, a new field appears where you can add your company name.

Now i need to add a second field to apear.

So if "Company" is checked, i need two fields (Name and VAT) to apear (and be required).

Again, i'm very bad ad JS, can anybody please provide advice?
This topic is locked and no more replies can be posted.