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: $32.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: $130.80
  • Save an extra: $109.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 4 years ago
Updated 3 years ago
Requires concrete5 5.7.5.3
Current version 0.9.7
Skill level Bleeding Edge

Buyer Rating:

5 average based on 2 ratings More information

Got something to say? Need help?

View support forum