Skip Navigation

[Resolved] Setting up repeatable group, page display and front end form

This support ticket is created 4 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by leilaG 4 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1446753
repeatable-group.png
menu.png

We have x2 weekly food menus on a page (image attached) And have set up the custom fields (image attached)

We want one user group to be able to update the menu each week with a front end form.

What would the best way to set this up? can we do it without using a VIEW? By adding the fields directly into a the page and having an Edit form link to update the weekly menu?

#1448103

Hello,

Yes, it is possible with just custom fields.

You can setup some custom fields, for example:
- Monday Soup of the day
- Monday Main choice
- Monday Vegetarian choice
- Tuesday Soup of the day
- Tuesday Main choice
- Tuesday Vegetarian choice
...

Then create a Toolset form for editing post, so your user will be able to edit/update the above fields in front-end, see our document:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

#1448465

Hi Luo,

On the page, how do we pull through the correct locations menu items, as we will have 2 weekly menus. Can we do this with one set of custom fields and one form using a taxonomy for the location?

#1449963

Please elaborate the new question with more details:
how do we pull through the correct locations menu items, as we will have 2 weekly menus. Can we do this with one set of custom fields and one form using a taxonomy for the location?

What is the correct locations menu items? can you take a screenshot for it?

#1450353

So we have

A weekly menu for our Nottingham location
A weekly menu for our Scotland location

Can we use the same edit form and fields using a taxonomy for the "location" and display the results in a page without using a VIEW?

#1455193

Yes, I think so.

You can create a taxonomy "location", assign it with your custom pos type "weekly food menus".
It does not need Views plugin.

#1455921

Does this mean I should not use a repeatable group for the days? as I am not able to pull in the data to the page.

#1457097

You can use a repeatable group for the days, that depends on yourself, if you don't want to use Views plugin, you can try my suggestion above:
https://toolset.com/forums/topic/setting-up-repeatable-group-page-display-and-front-end-form/#post-1448103
It needs only one field group.

If you need more assistance for it, please provide a test site, I can setup a demo for you.

#1468897

My issue is resolved now. Thank you!