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

Hi,
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.


Regards

...
List Manager

Build different lists for your site

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!