[Résolu] Create Test From Toolset Types, Then Populate Other Post Type From Info
This support ticket is created Il y a 5 années et 1 mois. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Ok so this issue would be a bit more on the advanced side I think...
Ok so i have 2 post types i.e. Test Templates & Tests Taken
I want users to setup tests in test templates, which has a title field, and then a repeatable group with text boxes in it... Then I want users to be able to take the tests and it to save in another post type which will be pulling data from the first.
So for example, if I have a test template with 4 repeated text boxes, it needs to create a field in the second post type, which has the template title as the question for example, and the repeated text boxes as multiple choice answers in a radio button
How can this be done?
Basically i need a dynamic form to the fullest
When your custom function will be executed after the form's submission, you'll have the ID of the newly inserted post, as shown in the example snippets in the documentation.
I hope this helps and for more personalized assistance around custom code, you can hire a professional from our list of recommended contractors: https://toolset.com/contractors/
regards,
Waqar
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.