Forum


Calc Builder Support

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

Get value of inline result 12.05.2015 15:58

I got several calculations in "code" section in PHP. The results are shown as inline results in CB - everything works fine.

Later I need these results in JS. It seems like cb_getValue('...') doesn't work with inline results. Is this correct? How can I access these inline results?

Regards

Alex

Re: Get value of inline result 12.05.2015 18:57

Hi,

in case you need to recover the contents once the output section is shown:

https://www.moonsoft.es/en/help/2-cbsupport/2741-check-results


in case you need to read it directly from the input form:

//Inline field with var name myfield1
CB("div[fldname=myfield1]").html();

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

Our clients' feedback