Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Show the second row of the table, depending on the condition 10.08.2014 07:32

Need to get the second row of the table has been shown, if the variable in the first row of the table is greater than zero. How can I do this?

Re: Show the second row of the table, depending on the condition 11.08.2014 09:16

Hello,

If you need some sections of your form hide/show according to user inputs, you must include some javascript code able to handle that. Please check 'Hide/show sections on user input' video at www.moonsoft.es/en/demo-calcbuilder-en.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Show the second row of the table, depending on the condition 22.08.2014 17:13

Can I use radio button insted of option list?
Thanks.

Re: Show the second row of the table, depending on the condition 23.08.2014 12:14

Hello,

Yes, but maybe you should change jQuery selector to get radio field value instead of option list.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Show the second row of the table, depending on the condition 24.08.2014 10:09

I used this code:

CB(".dinstyle").hide();
CB("#intest").change(function(){
CB(".dinstyle").hide();
CB(".opt-"+CB("#intest").find(":selected").attr("mv_option")).show(500);
});

How should I modify it to work with radio button?
Thanks for your assistance.

Re: Show the second row of the table, depending on the condition 24.08.2014 11:36

Hello,

Javascript code depends on your fields, HTML, etc.. You could find how to select a radio button using jQuery (For example: http://api.jquery.com/checked-selector/ or http://www.mkyong.com/jquery/how-to-select-a-radio-button-with-jquery/) changing $ or jQuery alias with CB.

If you need more assistance in your specific javascript code, please place a ticket in helpdesk and we'll evaluate it.

Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Our clients' feedback