Fields

Fields

Fields placed on the form have visual indicators:

– The field is hidden or there is a JavaScript expression;

– The field is disabled or there is a JavaScript expression;

– The field is required or there is a JavaScript expression;

– The field has validation expressions;

– The field has a tooltip.

You may select a field on the form to edit its properties:

Basic

  • Label – label to the field for the end-user;
  • Tooltip – text to show when end-user clicks forms002 button;

Advanced

  • Visible:
  • Visible – the field is visible to the end-user;
  • Hidden – the field is hidden from the end-user;
  • Visible by condition – JavaScript expression that defines if the field is visible to the end-user;
    • Enabled:
  • Enable – the field is enabled on the form to the end-user;
  • Disable – the field is enabled on the form to the end-user;
  • Enabled by condition – JavaScript expression that defines if the field is enabled to the end-user;
    • Required:
  • Not required – the field is not required to fill in;
  • Required – the field is required to fill in;
  • Required by condition – JavaScript expression that defines if the field is required to fill in;
  • Message – validation error message (if empty, the standard validation message in SharePoint Online will show to the end-user);
    • Validation:
  • Expression – JavaScript expression that defines if the input data is correct;
  • Message – validation error message;
  • Value

    • Type:
  • Default:

    Expression – JavaScript expression that defines default value for the field;

  • Expression:

    Expression – JavaScript expression to define value for the field;
    Update expression value:
    – Once before item save;
    – On every change on the form;

  • Generated (the value will be generated on form submit):

    Pattern – JavaScript expression to generate value;

  • Unique key (the value will be generated on form submit):

    Pattern – JavaScript expression to generate value (must include [key]);
    Parameters – a set of parameters to generate value;

  • Reference:

    Referenced field – field to copy value from;
    Lookup parameters (available if type of Referenced field is Lookup):

    – Field name – Internal Name of the field from lookup list to copy value from;
    – Field type – type of the field from lookup list;

  • Contents