By default you will see some values set for the "title" field. It looks like this:
"title" => [ "type" => "Text", "label" => t("A Text Input Field"), "description" => t("This is the description of the field"), "required" => true, "searchable" => true, ],
Since we haven't covered these yet, we will do that just now.
The (clickable) label just above the form input (a text input for example or a textarea). This should be a string value and can be wrapped with the translatable function that comes with concrete5: t("Your string here").
The description will display at the start of the label, by displaying a question mark and showing the text upon hover. This should be a string value and can be wrapped with the translatable function that comes with concrete5: t("Your string here")
A boolean, either true or false. If set to true, a "Required" text will be added to the label. Defaults to false.
A boolean, either true or false. If set to true, and the field type allows it, this field will be added to your search index. The field type itself takes care of what should be entered in your search results, no worries. Defaults to true.
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