Referencing Field Names

  • g_form object methods refer to fields by their field name, not their label
  • Easy way to locate a field **name

    **

    • Right-click a field's **label

      **

    • The field name appears on the Context menu

For example, the first parameter required by the addDecoration() method is a field name. g form. addDecoration ( 'String field_ name' ,'String icon' 'String title');

Provide the field name caller_id vs. the field label Caller. g form.addDecoration ( 'caller id' , ' icon—star' , 'preferred member' )

Tip

Show — 'field_name' option on the Context menu works great to display the name of a field. A popup with a few of the field's properties are displayed. Copy the field name for your script. Additional properties include Table, Type, Max Length, and Attributes.

results matching ""

    No results matching ""