Home › Forums › Quform WordPress › Display the form data entries in the redirection page
- This topic has 4 replies, 2 voices, and was last updated 6 years, 8 months ago by Ally.
- AuthorPosts
- August 15, 2017 at 3:31 am #21617darighParticipant
Hello,
I want to display the form data entries in the redirection page after submission.I tried by myself to solve this enigma with the forum, but I dont find the solution.
The only conversation I found is about creating a new post with form data entries(it works).function my_create_wp_post($form)
{
$title = ‘New download’;
$content = $form->getValue(‘iphorm_1_1’);
$Smart_ID = $form->getValue(‘iphorm_1_1’);$post = array(
‘post_title’ => $title,
‘post_content’ => $content,
‘Smart_ID’ => $Smart_ID
);wp_insert_post($post);
}
add_action(‘iphorm_post_process_1’, ‘my_create_wp_post’, 10, 1);The post is correctly created, but impossible for me to display $Smart_ID in the redirection page after submission
I have ‘Insert PHP’ plugin that allows me to insert PHP code in this Page
<?php
echo ‘Vous êtes connectés avec cet ID’;
echo $Smart_ID;
?>
but $Smart_ID isn’t displayed…Any Solution?
August 15, 2017 at 7:29 pm #21620AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 15, 2017 at 11:53 pm #21622darighParticipantThank you for the answer Ally.
But my final question is :
I don’t want to modify or create a post,
but I want only to display the data received from the Form ‘iphorm_1_1’
in the existing PAGE ‘Fichiers à Télécharger’ as shown:
https://www.dropbox.com/s/6i095quazw2nwfw/Sending_Option_Quform.png?dl=0What’s the PHP code to display the received value of $content in this page 176 (with ‘Insert PHP’ plugin installed)? or another solution?
https://www.dropbox.com/s/k93zulsc0gbm1uc/php_code.png?dl=0Regards
August 17, 2017 at 1:59 pm #21625darighParticipantAny feedback of solution for my last request ?
Thanks a lotAugust 22, 2017 at 4:32 pm #21640AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.