Title: Data Variables
Last modified: August 22, 2016

---

# Data Variables

 *  Resolved [thenorth](https://wordpress.org/support/users/thenorth/)
 * (@thenorth)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/data-variables/)
 * Hi can someone tell me how I could extract the name and email variables from 
   the submitted form and have them populate some script.
    I’m wanting to use Shopper
   Approved and want to pass the variable to the survey. The code is below. apprecite
   any help. Thanks. `<script type="text/javascript"> var sa_values = { 'site':13567,'
   name':'John Doe', 'email':'john.doe@gmail.com', 'forcecomments':1 }; function
   saLoadScript(src) { var js = window.document.createElement("script"); js.src 
   = src; js.type = "text/javascript"; document.getElementsByTagName("head")[0].
   appendChild(js); } var d = new Date(); if (d.getTime() - 172800000 > 1421969431000)
   saLoadScript("//www.shopperapproved.com/thankyou/rate/13567.js"); else saLoadScript("//
   direct.shopperapproved.com/thankyou/rate/13478.js?d=" + d.getTime()); </script
   >`
 * [https://wordpress.org/plugins/form-maker/](https://wordpress.org/plugins/form-maker/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [webdorado](https://wordpress.org/support/users/webdorado/)
 * (@webdorado)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/data-variables/#post-5707888)
 * Dear thenorth,
 * As we understand, you need to take the name and the e-mail value of the submitted
   form. If so, please be informed, that in form-maker\frontend\models\FMModelForm_maker.
   php file there is the function save_db(), where all that data is kept. You can
   modify it as you need.
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Data Variables’ is closed to new replies.

 * ![](https://ps.w.org/form-maker/assets/icon-256x256.png?rev=2068681)
 * [Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder](https://wordpress.org/plugins/form-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/form-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/form-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/form-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-maker/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * 1 reply
 * 2 participants
 * Last reply from: [webdorado](https://wordpress.org/support/users/webdorado/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/data-variables/#post-5707888)
 * Status: resolved