Button Object

Button Object

IntroductionUsageProperties

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. )
image: Displays an image button (i.e. )

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.

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註