- This topic has 3 replies, 2 voices, and was last updated 1 year, 10 months ago by .
I have a clonable group to create the sections of the page. Each group has a select field with a list of the templates for the frontend to choose. So the user could create as many pages with different sections he wants with different types of the templates of sections I created in any order he wants. Like a builder.
The screenshot will help to understand better https://monosnap.com/file/kt2cuo1gQ0nARXBEq91Ycb6Wan3frJ
Each section has the name.
Some of the templates of the sections have buttons. My client wants to have the possibility to add behavior to the buttons. Some of the buttons could open other pages, some of them should scroll to the specified section.
For now, I see only 1 possible way to do this - is to add the text field, where he should put the name of the section he wants to scroll to or the URL he wants to go to. But this is too complicated for the user. He needs to remember it, and he can make mistakes.
I wish I could have the select field, which could print all the clonable fields I specified. In my case all the sections I created.
Is there any possibility to do that?
I came up with the idea to make +1 type of the field which could accept the id of the group in the config I created and make the request to the database, to print all of the values. I guess the same thing as
rvmb()method does, not for the frontend, but for admin panel.
- You must be logged in to reply to this topic.