CalcBuilder Forum

Get value of inline result

Usuario moon_1859 2015-05-12 15:58:53

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

Moonsoft support 2015-05-12 18:57:55

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").html();

Hope this helps, regards

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!