I'm am making a product advise site. I have made a multipage form with umbraco forms and on submit I redirect users to a page where I need the form values from this client and process them to give the advice.
I can't find how to get to the form data. There are all kind of snippets on our umbraco but nothing seems to work with forms and umbraco 7.2.2
For testing purposes I made a form with one text input called Name. I want to show the name on the thank you page.
Can somebody point me in the right direction?
Thanks!!
Edit: I think the main problem in all the code snippets I find is the use of a GUID. I don't have a clue where to find the form GUID...
I solved the problem by getting the Guid from the TemData.
Using the Guid I loop throught all the entry's and pick the one with the Guid from tempdata.
Use current form entry on thank you page [Solved]
Hi all,
I'm am making a product advise site. I have made a multipage form with umbraco forms and on submit I redirect users to a page where I need the form values from this client and process them to give the advice.
I can't find how to get to the form data. There are all kind of snippets on our umbraco but nothing seems to work with forms and umbraco 7.2.2
For testing purposes I made a form with one text input called Name. I want to show the name on the thank you page.
Can somebody point me in the right direction?
Thanks!!
Edit: I think the main problem in all the code snippets I find is the use of a GUID. I don't have a clue where to find the form GUID...
Ok, I got this snippet to work in a partial view:
I found the GUID in /App_Plugins/UmbracoForms/Data/Forms.
This snippet gives me all the entry's. What I need is the entry I just submitted like described here: enter link description here
Comment author was deleted
You can get the id of the latest record, that's stored in the tempdata collection
Hi Tim,
I updated Umbraco forms to the latest version and now this:
doesn't work anymore. Has anything changes in the latest version due to the security patch?
Thanks
Hi Tim,
I solved the problem by getting the Guid from the TemData. Using the Guid I loop throught all the entry's and pick the one with the Guid from tempdata.
It works like this.
Thanks for the help
can you write the code, because I have some problems.
thank you
Hi Adriano,
I now use:
That gives me the latest record from tempdata. Please let me know if this works.
Frans
is working on a reply...