RETAINING THE VALUE IN A TEXTAREA FORM FIELD AFTER FORM IS RE-SENT - Jul 2nd, 2012


In a member signup form I had a textarea form field that would lose the information that was entered each time the form
was re-sent (as in error checking, etc.) and it took Jason Sauchuk from Interactive Tools to help me see the tree in the
forest.

He said (very patiently, I might add),

"To put information into a textarea, you output it between the <textarea> tags."

For example:

<textarea name="your_name" COLS=50 ROWS=6 ><?php echo htmlspecialchars(@$_REQUEST['your_field']); ?></textarea>



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service