Forum Moderators: coopster
I have these options, but have never used them.
Isn't there a way to just add a command to this string?
<tr>
<td width="150" align="right" valign="top"><strong><?php echo"$Submit_LinkDescription";?></strong></td>
<td width="350" colspan="2" align="left" bgcolor="#FFFFFF">
<textarea name="desc" cols="40" rows="6" wrap="VIRTUAL" id="desc"></textarea>
</td>
</tr>
<tr>
e.g.
$charLimit = 500;
if (strlen($_POST['desc']) <= $charLimit)
{
// do something
} else {
// do error
}
I don't think you can limit the number of characters you input into the actual textarea html, unless you dodgy it up with some javascript, even then it can be surpassed easily.