Forum

Thread tagged as: Question, Shop

Dynamic fields

Hi! I'm looking for a way to allow the client to add new fields into a product. For example, lets assume that the client is managing an hotel, and for each room he wants to add different options (Wifi,extra bed, alarm service ,bed service, etc). Because it changes for each room and over-time, it makes sense to allow the client to add dynamically the fields to each room instead of me keeping adding manually new inputs into the template every-time that the client needs a new field.
Something like you can see in the following images, where the client sees a button saying something like "add new field" before click

And after clicking it, a new fields is shown and the client can fill it. after click

Does perch allow to do this out-of-the-box or is this something I need to do from scratch?

Gustavo Bica

Gustavo Bica 0 points

  • 3 years ago

Sounds like a job for repeaters: https://docs.grabaperch.com/templates/repeaters/

Drew McLellan

Drew McLellan 2638 points
Perch Support

Or for Blocks.

Thanks for the feedback, I will look into that ;)