Main Menu
Contact
Popular Plugins
Sign In

One of the best field types out there, repeatable. With this field type you can repeat other field types, to add multiple items. Think of adding multiple Client Logos or Testimonials or something. Let's take a look at an example:

"testimonials" => [
	"type"       => "Repeatable",
	"label"      => t("Client Testimonials"),
	"searchable" => true,
	"config"     => [
		"minimum_entries" => 1, // not required
		"maximum_entries" => 10, // not required
		"add_label"       => t("Add Client Testimonial"), // not required
		"fields"          => [
			"first_name" => [
				"type"       => "Text",
				"label"      => t("First Name"),
				"required"   => true,
				"searchable" => true,
			],
			"image"      => [
				"type"       => "Image",
				"label"      => t("Your Image"),
				"required"   => false,
    			"searchable" => true,
			],
		],
	],
],

The first 3 values in the config aren't required, so you can remove them if you don't need them. In some situations it may be handy to set a minimum/maximum number of entries, so feel free to use as you please. Each field you add under "fields", are processed exactly the same as any other field. So you can use the knowledge you have on the fields/field types here too.

Title field (title_field)

The Title field configuration will allow you to put the contents of a "Text" field at the top of the item, along with it's number (#1 for example). This way, it's handy to see what item it is when a repeatable item is collapsed and you want to sort it.

Make sure the value of this configuration is a key in your "fields" array. If you take the fields at the top of this page as an example, a possible value would only be "first_name", since this is the only "Text" field available. If you add more of these fields, you can choose these as well.

"testimonials" => [
	"type"       => "Repeatable",
	"label"      => t("Client Testimonials"),
	"searchable" => true,
	"config"     => [
		"title_field" => "first_name"
	],
],

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