Input Field – textfield

Input Field – textfield

You can use the textfield input field to get the single line or short text input without formatting. Below is the example and list of params used in the textfield input field.
ExampleCopy to Clipboardarray(

'type' => 'textfield',

'heading' => esc_attr__( 'Name', 'fusion-builder' ),

'description' => esc_attr__( 'Enter your full name.', 'fusion-builder' ),

'param_name' => 'full_name',

'value' => '',

),​x 1array(2​3  'type'        => 'textfield',4​5  'heading'     => esc_attr__( 'Name', 'fusion-builder' ),6​7  'description' => esc_attr__( 'Enter your full name.', 'fusion-builder' ),8​9  'param_name'  => 'full_name',10​11  'value'       => '',12​13),Parameters type
(string) input type. heading
(string) Setting title. description
(string) Short description about the setting field. param_name
 (string) Attribute name to be used in the shortcode. value
(string) Default value to be set for the field.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注