Forminator parameters
-
Hi,
i have done a complete form “dates de naissances” which works correctly : when a date of birth is entered , the form is submitting to a new page depending of form rules.
But on the new page submitted i need the use the date of birth to display another informations : is there a possibility to retreive this parameter on the submitted page ? , and how to use this date of birth on another form ( without asking the user) ?
Here is my form “Date de naissance Staging.txt” : https://drive.google.com/drive/folders/1NWukzoSQ4RRFsZd_N8e2IfbHlRE-yBd7?usp=sharing
Thanks by advance
Dominique
-
Hello @dba83
Hope you are doing well today.
You can use pre-populate feature, send the date via URL redirection and then use the same name in the field with Pre-populate, please take a look at this doc to learn more how to use it.
https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#pre-populate-form-field-valuesLet us know if you have any questions.
Best Regards
AminHello @dba83,
I hope the above suggestion to pre-populate form fields helped. We haven’t heard from you for a while, so I’ll be marking this thread as resolved for now.
Please feel free to reopen it, if you need our further assistance.
Best Regards,
DmytroHi Dmytro, thanks for your email , yes i have followed your suggestion but i don’t know how to use the date of birth on the new page submitted : the best way for me is to use the date of birth on another form to submit another page without input of the user .. Please let me know if it is possible ?
BE
Dominique
Hi @dba83
Please double-check if you have followed all steps from the guide we have shared in the previous reply: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#pre-populate-form-field-values
With all the steps, you should be able to pass details from one form to another one.
Kind Regards,
KrisHi Kris, thanks for you email , i have followed the rules to Pre-Populate my Form Field Values, however i don’t know how to use this field value on my second form here is my operations :
On my first form ” date de naissance” , i have updated one URL after submission behavior to pre-populate the “date-1” value ( ie date of birth) like the following ( the sixth URL submission) :
So the key here is “datedenaissance”
Then on the submitted page above i have created another form “signes” and updated the setting date field with the query parameter “datedenaissance” , then i copied the shortcode of my form “signes” on the new page above, but when the submitted page appears , the form is displayed without the date and i need also to enter the date of birth !
I think that i’m doing something wrong but i don’t know what is wrong…
Please download the “date de naissance” form here: https://drive.google.com/file/d/1h2K-3NXw8_kWFXXAY_jdPX4G6-Ar5Ukw/view?usp=sharing
and “signes” form here : https://drive.google.com/file/d/1qS8_M-YZvjip_q8w8ASR6GrVxiYLoVi-/view?usp=sharing
Thank-you by advance
BR
Dominique
Hello Dominique,
Thanks for the explanation. The steps are correct, except for the redirect URL you’ve specified in the first form:
https://astro-dom.ovh/yamato/?page_id=272?datedenaissance={date-1}– since there’s more than one parameter (page_id and datedenaissance), they should be separated by & sign, not by the second ?. So the correct URL should be:
https://astro-dom.ovh/yamato/?page_id=272&datedenaissance={date-1}I hope this helps. Please let us know if there’s still any issue after correcting the URL.
Best Regards,
DmytroHi Dmytro, yes it’s working fine!
Thank-you for your great help !
BR
Dominique
Before mark this thread as resolved I have a last question :
Is it possible to run the pre-populated form ( in my case the “Signes” form) automatically when the new page is submitted , and without the user intervention ?
BR
Dominique
Hello @dba83
Unfortunately, there are no built-in options available for that. The user needs to enter a date and submit it in order for the pre-populated work to appear on the second page.
Best Regards
AminThanks for your reply, but is-it possible to hide the second pre-populated form( the user is knowing his date of birth), and ask the user to validate the form ?
Best Regards
Dominique
Hi @dba83,
I am a bit confused about the requirement here. Can you please clarify how you expect the user to validate the information if the form is hidden?
Please provide a brief explanation of the workflow you expect so that we can assist you further.
Best Regards,
Nebu JohnHi, sorry my question is not clear : i try to use the query parameter on the second page (date of birth) in order to calculate the astrologic sign on the form, and then submit to another page with the sign characteristic . But i think it is not possible.
BR
Dominique
Hi @dba83
You need to add information to the page URL as query parameters. Forminator can only accomplish this if there is an earlier form on the page that passes the information as redirect parameters. If that’s not the case, you’ll need to use custom coding to append the data to the URL parameters in the second form.
Best Regards
AminThank-you so much for your informations !
Best Regards
Dominique
Hi @dba83 ,
I hope you’re doing well.
I’m glad that we were able to answer your questions. If you have a moment, I would very much appreciate it if you could quickly rate our plugin. This will help us keep the plugin available for free.
Best Regards,
Williams Valerio
You must be logged in to reply to this topic.