If I am understanding you correctly, you basically want a dummy field that will accept the data from a user and use that data to populate a real field on another page. You do NOT want the data from the fake field to be a part of the entry, only the field that was populated with data from the "fake" field. If my understanding is correct, you could do something like the example below. In this example, I use the gform_pre_render hook to add the fake field to the form object so that when the form is displayed the fake field shows. The data that is POSTed for the fake field will be available on subsequent pages for use. It is then used to populate a field on the third page using its value from the $_POST object. Take a look and see if this gets you what you need. You will need to change the form id and field ids as mentioned in the comments.
Posted 11 years ago on Monday July 1, 2013 |
Permalink