Controls the way the form button is displayed. Contains the form button settings such as the button text.


$form['button']['type']; // returns the button type
$form['button']['text']; // returns the button text


  • type string

    Specifies the type of button to be displayed. Possible values: text, image

    • text: Displays a standard submit button (i.e. <input type="submit" />)
    • image: Displays an image button (i.e. <input type="image" />)
  • text string

    Contains the button text. Only applicable when type is set to text.

  • imageUrl string

    Contains the URL for the image button. Only applicable when type is set to image.

  • conditionalLogic Conditional Logic

    Controls when the form button should be visible based on values selected on the form.