Link Form A entry to Form B without passing info via Url

By: Jon Stu | Asked: 03/14/2024
ForumsCategory: General questionsLink Form A entry to Form B without passing info via Url
Jon Stu asked 6 months ago
I have a registration form (Form A) which Contributers can fill out to register Subscribers on a site.
This creates an entry per Subscriber with custom user meta.
The Subscribers are sent an email and can log in to a page to fill out Form B.
I can retrieve user meta and auto-populate Form B with the logged-in user's info.
This works fine, but how can I associate the registered entry of Form A with Form B, ie I want to include field entries that are not in the user meta, but are in the entry, and have them show up in Form B (via HTML or populated fields) Can I sort of link Form A with Form B? I can't really pass it via an URL as the subscriber doesn't go from Form A to Form B. The Subscriber logs in separately, I suspect its done via Dynamic fields, but can't get it to work.
1 Answers
Victor Font answered 6 months ago
In order to link Form A to Form B there must be a common data element in both forms. You can pass the Form A entry ID to Form B by including it as a query string parameter in the URL you are sending the user via email. The Form A entry ID is the link to make all the content in the Form A entry available to Form B as dynamic fields.
Jon Stu replied 6 months ago

When Contributer registers the subscriber the action for the form sends an auto email to set the password and login.

When they have logged in they click on form B on a page. So how do I add the query string as the url is for setting the password? Is there another way of linking the forms with common data element?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right