CalcBuilder Forum

use (Required) Name

User moon_1209 2013-11-02 13:19:13

Is it posible to use the content of "Name" in de form or code

name: posible
Variable: _pos

in code $_pos
in form ##_pos##

But can I call the content of the field name in the form and or code?

something like ##_pos## can't find it in the manual or forum.

Moonsoft support 2013-11-04 11:43:34

the backend name is used only when form is created automatically, to create the proper label for the input fields, and for your identification at fields configuration, as variable names have more restrictions about characters allowed. You can't access that value at the code (unless you launch a query to the calcbuilder database,where configuration is stored).

There are some field types that allow $_pos_name, they are the option/radio values, and this variable stores the label of the option selected, instead of the value, but there's no access to the field name of the backend.



Create dynamic calculators

Buy now!
Support/development 10 hours

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

Buy now!