multi step form, send variable from step1 to step2

By: Emmanuel GADEK | Asked: 01/20/2023
ForumsCategory: Code Helpmulti step form, send variable from step1 to step2
Emmanuel GADEK asked 1 year ago
Everything is on the title, I need to send a var from step 1 of a multi step form to the step 2.
Could anyone help me to do that please ?
1 Answers
Bobby Clapp answered 1 year ago

Get the field ID (Example: 32) of the value you want from the first page and simply set that as the default value for the field on the second page. Like this: [32] It doesn't happen to update if you go back to the previous page and then forward for whatever reason.

Emmanuel GADEK replied 1 year ago

<p>Hi Bobby, thanks for answer, just place [32] ? how to do that if the field is an html field <span style="background-color: #202124; color: #bdc1c6; font-family: arial, sans-serif;">?</span></p>

Bobby Clapp replied 1 year ago

That's the same case. Just drop the field ID surrounded by brackets.

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