bookmark_borderButton

Introduction

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

Usage

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

Properties

  • 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.