Using form data in CMS page
rangrage opened this issue · 0 comments
rangrage commented
Hi, I want to create a CMS page to display the form data in a table, including any file attachments. How can this be done?
I have used the PHP code section to get the data, however, when I try to loop through the form_data field on the page it doesn't output any of the form fields separately.
If I try {{ form_data.name }}
nothing will display.
All I can output is something like this:
{"name":"TESTING","email":"email@gmail.com","tel":"0123456789","comments":"ABCD"}
Please advise!
Thanks