Title: Calculated field multiple lines
Last modified: June 16, 2023

---

# Calculated field multiple lines

 *  Resolved [jimdvm](https://wordpress.org/support/users/jimdvm/)
 * (@jimdvm)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/calculated-field-multiple-lines/)
 * Hi,
   I have a form with multiple pages. On the first page, a user enters text 
   in a text field. I’d like to display this text in another text field on the next
   page. A calculated field works, but I need the text to be multi-line.Thank you
   in advance,Jim

Viewing 1 replies (of 1 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/calculated-field-multiple-lines/#post-16825163)
 * Hello [@jimdvm](https://wordpress.org/support/users/jimdvm/)
 * Thank you very much for using our plugin. For multi-line texts, you need textarea
   controls. You can use a calculated field to assign a textarea field’s value to
   another one in the field.
 * I’ll try to describe the process with an example. Assuming you have two textarea
   fields, fieldname1, and fieldname2, and want to assign the value of fieldname1
   to the fieldname2.
 * Insert a calculated field that you will use as an auxiliary. You can hide it 
   by ticking a checkbox in its settings. And then enter the equation:
 *     ```wp-block-code
       getField(fieldname2|n).setVal(fieldname1|r, true);
       ```
   
 * The previous code gets the fieldname2 object, and assign to it the raw value 
   of the fieldname1.
 * Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Calculated field multiple lines’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/calculated-field-multiple-lines/#post-16825163)
 * Status: resolved