When using input type text, I validate using the following code.
<input type="text" name="subject" value="<?php echo $form->value("subject"); ?>">
<?php echo $form->error("subject"); ?>
<textarea name="body" cols="10" rows="10"></textarea>
<?php echo $form->error("body"); ?>
As you can see, I am also using a textarea.
How would I add the value="<?php echo $form->value("body"); ?>" to the textarea?
Thanks
Put it in between the
<textarea>tags.