Forum


Calc Builder Support

Calc Builder support
Forums
No se permite escribir sin estar logado. Por favor, login

Tabs - show tab if checkbox is selected 25.06.2013 19:09

Hi
As the topic says I'm trying to get it to hide/show tabs depending on whether a field type yes/no or multiple-option is checked.

First off the tabs is working fine.
The reason I'm using tabs is that in the end, there will be many fields in my calculations. So it's simply to make it more userfriendly and dont show fields that the current user dont need.

The calculations is for house renovations and energysavings.
The idea of ​​it is to let the user choose what to calculate.
For example:
New windows: Yes/No
New roof: Yes/No
etc.

If "New roof" is checked a new tab is added or shown.
And If "New windows" is checked a new tab is added or shown.

And of course in the end we can add it all up.

Is it possible to do something like what im describing?

BR
Kim

Re: Tabs - show tab if checkbox is selected 26.06.2013 11:13

Hello,

Yes, it´s possible with javascript code. You should use 'Javascript events' in your calculator to write your javascript code. Fields ids are related to field variable names in backend. So, if you need to select field in javascript you could use variable name.
Remember that to use jQuery javascript framework you should write CB instead of $, which is reserved for Mootools.

If you want us to make code for you, please send us your requirements, url to gestion@moonsoft.es and we´ll send you a quote.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Tabs - show tab if checkbox is selected 03.07.2013 12:50

Thanks for the response.
I'll keep you posted.
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros