You are viewing limited content. For full access, please sign in.

Question

Question

Hid/Show sections based on checkbox selection

asked on January 30, 2016

I am attempting to hide and show sections in my form using Javascript.  I can not use field rule because I need the fields to populate in a lookup and they will not if hidden in field rules.  I am closes but not close enough, can anyone point out what I'm doing wrong.  I have tried it two different ways.  I know that the hide works because when the form starts the section is viewable but when I check the Store Information box it disappears. do "on change" is working. 

or 

 

0 0

Replies

replied on February 5, 2016

Hi Jessica,

If you copy and paste your current if statements outside of the $(document).ready function it should work. There are two steps to the form, the initial loading and the checkbox which require the JavaScript. You completed the checkbox event binding, but not for the initial loading. Hope that helps!

Best,
Kevin

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.