Main Menu
Contact
Popular Plugins
Sign In

In your field, add a "config" key to the array. See an example here:

"cmsPreference" => [
	"type"       => "Select",
	"label"      => t("Your CMS preference"),
	"required"   => false,
	"searchable" => true,
	"config"     => [
	    "options" => [
            'concrete5_6' => t("Concrete5 CMS 5.6.x"),
			'concrete5_7' => t("Concrete5 CMS 5.7.x"),
			'concrete5_8' => t("Concrete5 CMS 8.x"),
			'typo'        => t("Typo"),
			'craft'       => t("Craft"),
			'wordpress'   => t("WordPress"),
			'pyrocms'     => t("PyroCMS"),
		],
	],
	"view"       => [
		"type"   => "value",
		"prefix" => "<h2>",
		"suffix" => "</h2>",
	],
],

There is nothing more to it for this field type. Just be sure to have good (unique) keys in your options array, that will make life easier when you want to add/edit/remove afterwards.

Use, by you or one client, in a single end product. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $35.70
Add to Concrete5 Cart

Use, by you or a client, in 5 single end products. The total price includes the item price and a buyer fee.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Concrete5 buyer fee: $142.80
  • Save an extra: $119.00
Add to Concrete5 Cart

Use, by you or a client, in x/xx single end products.

Upon request, quote will be made and sent to you via email.

  • Quality checked by Concrete5
  • Future updates
  • 30 Day Support
  • Saves extra $$
Request Quote
Released 6 years ago
Updated 1 year ago
Installs 3
Requires concrete5 5.7.5.3
Current version 1.4.5
Skill level Bleeding Edge

Buyer Rating:

5 average based on 3 ratings More information

Got something to say? Need help?

View support forum