Title: Return name field value
Last modified: March 9, 2017

---

# Return name field value

 *  Resolved [Pamela Rebelo](https://wordpress.org/support/users/pamdemel/)
 * (@pamdemel)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/)
 * Hi everyone, is it possible to return the value of the Name field on the “Thank
   you” message? How can I do that?
 * Thanks.
    -  This topic was modified 9 years, 3 months ago by [Pamela Rebelo](https://wordpress.org/support/users/pamdemel/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/#post-8895011)
 * Not right now. Merge tags for the success message are a great idea though.
 * I’ll see if I can get that in the next release.
 *  Thread Starter [Pamela Rebelo](https://wordpress.org/support/users/pamdemel/)
 * (@pamdemel)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/#post-8895313)
 * Thanks for the answer, Nick!
 * Actually I was asked to display the value of the Name field on a modal/lightbox
   that opens after the user submits the form.
 * Is that totally impossible? If there is some possibility, could you show me same
   code sample please?
 * Thank you again!
 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/#post-8895338)
 * PHP
    <?php echo esc_html( $_POST[‘sf_name’] ); ?>
 * Javascript
    Can’t read POST variables… so you’d need to output a variable declaration
   inline on the page using a filter… then read that in the modal.
 * So… not really any easy solutions here, sorry!
 * I could help you if you purchased premium support:
    [https://luminfire.com/support/premium-plugin-support/](https://luminfire.com/support/premium-plugin-support/)
 *  Thread Starter [Pamela Rebelo](https://wordpress.org/support/users/pamdemel/)
 * (@pamdemel)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/#post-8895379)
 * I’m going to ask my client about the premium support, because the job is not 
   really for me ˆˆ
 * But no problem, thank you so much again!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Return name field value’ is closed to new replies.

 * ![](https://ps.w.org/salesforce-wordpress-to-lead/assets/icon-256x256.png?rev
   =2316786)
 * [Brilliant Web-to-Lead for Salesforce](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salesforce-wordpress-to-lead/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/)
 * [Active Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Pamela Rebelo](https://wordpress.org/support/users/pamdemel/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/return-name-field-value/#post-8895379)
 * Status: resolved