Calc Builder Support

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

Add inside radiobutton label 02.12.2014 10:07


Sorry, the title would be "Add span inside radiobutton label", but the tag has been stripped and it seems I can't change the title.

I would like to dynamically change the label of a Radiobutton according to the selection (javascropt/jquery), so to see an intermediate result before submitting the form.
Unfortunately the generated html has the following structure:
label - input - Text to be changed - /label

Could you tell me what to change in the code so to obtain the following:
label - input - span - Text to be changed - /span - /label

In this way I could point to the correct tag inside label via jquery.

Thanks in advance


Edited by moon_1868 - 02.12.2014 10:08

Edited by moon_1868 - 02.12.2014 10:09

Edited by moon_1868 - 02.12.2014 10:10

Re: Add inside radiobutton label 02.12.2014 21:31

yes, the forum has some code restrictions, the helpdesk allows to share code more easily. If you need to change dinamically contents of the html, we can suggest to use your own html inside the form. Use the form layout to include your radiobuttons with the html needed inside your labels, instead of using the predefined field types of the calcbuilder. Then you can recover your values at the calculator code using


Where 'name' is the html name you set for your radio input.

Hope this helps, regards
Moonsoft Team
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