Show TOC

Using <textarea> ControlsLocate this document in the navigation structure

Use

To use a <textarea> control to obtain input for an step loop, you can include the following statement in your HTML template:

<textarea name="mail-text:80[]" cols="80"></textarea>
         

This statement ensures that no more than 80 characters per step loop row are placed on the screen.

To place the current content of the step loop on the screen as a default for the < textarea> control, use the following code:

<textarea name="mail-text:80[]" cols="80">`repeat with r in mail-text;
write (r, "\r\n"); end`</textarea>
         

Do not include additional line breaks, since this may lead to unintended results in some browsers.

Note

Make sure that there are sufficient step loop rows on your screen to hold the values of the multiple value field. Otherwise an error will occur.