Forum


Calc Builder Support

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

Adding a placeholder in inline results 24.08.2015 12:53

I am making the inline results box to be viewed in form all time and i need to add a placeholder text .. is there a way i can do that?

Re: Adding a placeholder in inline results 24.08.2015 16:06

Hi,
do you mean to set a default text in the place the inline result will be shown afterwards, right?. You can use this code at the javascript section of your calculator, at 'executed on loaded page' tab:


CB("div[fldname=yourinlinefieldname]").html("My placeholder");


just replace

yourinlinefieldname

and

My placeholder

by the proper values (the name of your inline field and the text you need to show).


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

Lo que nuestros clientes opinan de nosotros