Skip Navigation

[Résolu] Need CRED Form for repeating field group. Two step process (parent and group)?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created Il y a 6 années et 9 mois. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par tomH-11 Il y a 6 années et 8 mois.

Assisté par: Nigel.

Auteur
Publications
#624102

Tell us what you are trying to do?
I'm trying the beta for repeating fields. I've got the latest version. I have a custom post type where I have a one to many repeating field groups - similar to your house and rooms example. In the backend I can create a new house, which has a repeating field group where I can also add rooms. That works fine.

I want to have a front-end submission form where my user can do the same thing but it appears that I have to have him create a room and then assign it to an existing house. Is that correct? This is counter intuitive and extremely inefficient for a user. It makes no sense (to the user) to create the house - with no rooms - and then have to go to another form to create the rooms. Further, when creating a room, they have to find the corresponding house from a list of all the houses. In my case (I'm not really dealing with houses) I have thousands of "houses" that would need to be loaded into the selection mechanism and that they would then need to scroll through to find the one they wanted. Plus, the house names are not unique so there is practically no way for the user to find the correct "version" of the house when looking to attach a room to it. Hope that make sense.

I hope I'm just missing something here so please let me know where I've gone wrong.
Is there any documentation that you are following?

#624264

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Tom

You are right.

The current system for repeating field groups is cumbersome, particularly on the front-end with CRED, which is why it is being replaced.

The betas currently do not have CRED support for repeating field groups, but it is coming, and it will be based on pretty-much the same UI as the Types back-end implementation.

Looking at the internal roadmap, it looks like it won't make it into the first production release, but will be added soon after.
We don't want to hold up the production releases any longer than necessary, and had to draw the line somewhere regarding features. But this is an important part of the upgrade and is near the top of the list for what gets added in subsequent iterations.

Until then you are stuck with the current method of adding child posts to act as containers for groups of repeating fields, using a CRED form to add each repetition.

#624284

Thanks for the reply.

Le forum ‘Types Community Support’ est fermé à de nouveaux sujets et réponses.