I want to add predefined text in the message input for clients so I have added the text in the \include\client\open.inc.php like this:
<tr>
<th valign="top">Message:</th>
<td>
<? if($errors) {?> <font class="error"><b> <?=$errors?></b></font><br/><?}?>
<textarea name="message" cols="35" rows="8" wrap="soft" style="width%"><?=$info?>
My predefined text.
Please fill this out:
Mandatory*:
</textarea></td>
</tr>
It works as it should except the fact that the text will be inserted again when you press the "Submit" button and not all mandatory fields were filled out correctly. How can I avoid this?
Thanks.