How can the length of the message be limited to 500 characters in the following form?
<form action="process.php" method="POST">
<label for="message">Message:</label>
<textarea id="message" name="message"></textarea>
<button type="submit">Send</button>
</form>