CalcBuilder Forum

display: none & JQuery radiobutton issue

User moon_1734 2014-07-24 21:20:14

Hello there,

I reused the code from your demo example#2 (subscribe form) and added matrix values to it. It worked fine, but i don’t need multi options so I changed checkboxes to radio buttons at fields configuration and js.
changed two lines from:
jQuery('#hobbies input...
jQuery('#hobbies input)...

Now I have two problems here:
1. I can’t get the values from matrix to calculate the result (works fine with checkboxes thou). Just wondering what I have to add/change in js tab.
2. I don’t see buttons (or checkboxes before) so I have to manually change from display:none to display: block all the time to see them. I can’t find any css file that might be responsible for that, how to make that buttons to appear?

Thank you,

Moonsoft support 2014-07-25 09:26:24

that example adds some specific functions (show/hide effects) and multiple options that may cause the code to be more complex. For your case, if you need radiobuttons, just remove all code from javascript tabs (that code includes some 'hide' lines that cause the different sections to show and hide depending on the buttons). Then you can recover data selected just using the name of the variable used, at your code section


will contain the value selected at the radiobutton (Romantic,Thriller...)

so you can use it to recover data from matrix or use it as needed.

Hope this helps, regards

List Manager

Build different lists for your site

Buy now!
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!