Forum

Thread tagged as: Question

Can "Allow Multiple Items" be determined by a Template

I am using HTML "snippets" to generate HTML code via PHP, however is there a way to determine if content creators can use multiple items (or not).

While things like Required are useful, I need more power.

Garth Holmes

Garth Holmes 1 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

You can create regions in code if required: https://docs.grabaperch.com/docs/developers/creating-regions/

Hi,

It is still allowing me to create multiple instances of the element in Perch, even though I have 'multiple' => false

Drew McLellan

Drew McLellan 2638 points
Perch Support

It sets the initial options. Those options can be changed in the UI.