Home › Forums › Quform WordPress › Getting form data outside the hook
- This topic has 4 replies, 2 voices, and was last updated 9 years, 2 months ago by magmarama.
- AuthorPosts
- February 11, 2015 at 2:34 pm #13841magmaramaParticipant
Hi,
I’d like to make a custom page for reviewing form data and update it.
I can’t find anywhere how to access the data outside the hook.I’d like to have something like $value = $form->getValue(‘iphorm_1_1’); (but my problem is that $form is not set outside the hook)
So basically i need a function to retrieve form data from the database and another to update a particular field of a form entry…
Possible?
Thanks youFebruary 12, 2015 at 1:01 pm #13857AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 12, 2015 at 1:37 pm #13859magmaramaParticipantOK thanks… An alternative that would work for me is simply to filter the data in the admin panel. I’d like to be able to only show the data according to the selected value on a dropdown list box. It could be via URL like :
mysite.com/wp-admin/admin.php?page=iphorm_entries&element_5=loremipsum
Using the search to filter the result is not precise enough for my needs…
Is it supported by the plugin?
February 12, 2015 at 2:46 pm #13862AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 12, 2015 at 3:04 pm #13865magmaramaParticipantIt works (but without the bloquotes : ($_GET[‘sc’])!
Thank you very much for your help! - AuthorPosts
- You must be logged in to reply to this topic.