Calculated field multiple lines | WordPress.org

Hello @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:

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer