replied on January 13, 2014
I have a collection with the following:
- One set of check boxes (ID =#q57, CSS Class=OptionsCheck)
- Has a number of options, the first being "ADF" (Value=ADF)
- Two fields that associate with each checkbox. For example,
- "ADF Model" & "ADF Serial" (Both these belong to a CSS Class = ADF)
What I was hoping to do was have the form show the two fields once the check box was clicked, which I managed. The only problem I had was that it would show the two fields in every collection set once I selected the matching check box value.
I had purposely put the two fields in a CSS class named ADF that matches the value from the checkbox because I had hoped to retrieve the value of the check box that was selected and use the value from that (which in this case would be ADF) as some sort of identifier to use in my show()/hide() statement.... I ended up writing out a tonne of IF/ELSE statements in the end...
Would this hyphen(Amount) work on CSS classes? Or would I have to specify it on each ID of the field?
Thanks for helping out & I apologise if I make little sense!