Skip Navigation

[Resolved] Help – simple explanation to display child forms (2) with parent form

This thread is resolved. Here is a description of the problem and solution.

Problem:
Create a CRED form with repeating custom field.

Solution:
it is possible with Types + CRED,
1) create a custom multiple instance field with Types plugin
2) Create a CRED form with above custom field, you will be able to get field that can have multiple entries

Relevant Documentation:
https://toolset.com/documentation/user-guides/repeating-fields/

This support ticket is created 8 years, 1 month 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 4 replies, has 2 voices.

Last updated by danielleS 8 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#376566

I am trying to: Create a form for front end data entry of tour information (parent), and also show on that form related child information to add - tour dates which there are multiple and tour itinerary days which there are also multiple. Tour dates and Itinerary are both children of Tours. So when the data entry is complete there will be a tour with all tour dates and full itinerary.

I also need to make sure that the child forms allow for multiple entries of the fields - and should appear with the 'add another' option.

I am not too technical and I just cannot figure out how to do this. Is there a step by step guide? I have reviewed https://toolset.com/documentation/user-guides/cred-forms-for-child-content/ but still don't get it. Any help would be appreciated.

Thanks

Danielle

#376602

Dear Danielle,

I assume you are going to create the parent post and child posts within same CRED form, unfortunately, there isn't such a build-in feature within CRED, and according to W3C document, HTML form insider form is not allowed:
http://stackoverflow.com/questions/555928/is-it-valid-to-have-a-html-form-inside-another-html-form

So it is not possible within CRED, I suggest you check out our certified partners for it:
https://toolset.com/consultant/

#376603

Ok, thanks Luoy. I will try a work around with buttons to point to other forms. Can you tell me if I have a fields that can have multiple entries, how I activate that on the form?

#376611

Yes, it is possible with Types + CRED,
1) create a custom multiple instance field with Types plugin
Repeating Fields
https://toolset.com/documentation/user-guides/repeating-fields/

2) Create a CRED form with above custom field, you will be able to get field that can have multiple entries

#379891

Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.