Forum
Calc Builder Support
Calc Builder supportForums
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
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
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