Title: sessionid
Last modified: March 1, 2017

---

# sessionid

 *  Resolved [mads](https://wordpress.org/support/users/madstudio/)
 * (@madstudio)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sessionid/)
 * Hello codepeople,
 * How can i load the session id in a form? And how can i send a value (Session 
   id) in the next form?
 * Thank you.

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sessionid/#post-8861242)
 * Hello,
 * If you want to use session variables in the forms, you can use the shortcode 
   to create a javascript variable in the webpage with the information in the session
   variable, more information in the following link:
 * [http://cff.dwbooster.com/documentation#javascript-variables](http://cff.dwbooster.com/documentation#javascript-variables)
 * However, if you want use in a form, the data submitted by another form, you can
   follow the instructions below:
 * I’ll assume in this explanation that the values of fields: fieldname1, and fieldname2,
   in the form A would be assigned to the fields: fieldname23, and fieldname45 in
   the form B after submit the form A(the names of fields are hypotheticals, only
   to explain the process)
 * 1. Enter as the “Thank you page” associated to the form A, the URL to the webpage
   where will be inserted the form B.
 * 2. In the thank you page of the form A insert the shortcode of the form B, and
   the following piece of code, to populate the fields in the form B:
 *     ```
       [CP_CALCULATED_FIELDS_RESULT]
       <SCRIPT>
       cpcff_default = { 1 : {} };
       cpcff_default[1][ 'fieldname23' ] = '<%fieldname1_value%>';
       cpcff_default[1][ 'fieldname45' ] = '<%fieldname2_value%>';
       </SCRIPT>
       [/CP_CALCULATED_FIELDS_RESULT]
       ```
   
 * More information in the following link:
 * [http://cff.dwbooster.com/documentation#populate-form](http://cff.dwbooster.com/documentation#populate-form)
 * Best regards.
 *  Thread Starter [mads](https://wordpress.org/support/users/madstudio/)
 * (@madstudio)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/sessionid/#post-8861800)
 * Thank you. Thank you. Thank you.

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

The topic ‘sessionid’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mads](https://wordpress.org/support/users/madstudio/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/sessionid/#post-8861800)
 * Status: resolved