Sometimes, you'd want to make an email clickable - to open up your email client and send a mail to that address. In order to do so, you can set the anchor_field to true, like so:
"email" => [ "type" => "Email", "label" => t("Email Address"), "view" => [ "anchor_field" => true, // can take "true" or "false" as value ], ],
The default value is set to false.
If chosen for making the field an anchor (anchor field), you can also set a class on the anchor.
"email" => [ "type" => "Email", "label" => t("Email Address"), "view" => [ "anchor_field" => true, // can take "true" or "false" as value "class" => 'my-css-class multiple-allowed', ], ],
The value has to be a string and can contain multiple class names. By default, no class names are added to the anchor.
This field (also) only applies, when chosen for making the field an anchor (anchor field).
"email" => [ "type" => "Email", "label" => t("Email Address"), "view" => [ "anchor_field" => true, // can take "true" or "false" as value "class" => 'my-css-class multiple-allowed', "subject" => 'The subject of the email, passed to your email client', ], ],
The value has to be a string. By default, no subject (blank) is added to the anchor field.
Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.
Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.
Use, by you or a client, in x/xx single end products.
Upon request, quote will be made and sent to you via email.
Got something to say? Need help?
View support forum