; var charLength = document.BASform.elements.charcount.value; if(charLength > maxcharacters ) { alert('Message can be maximum ' + maxcharacters + ' characters in length.'); return; } document.BASform.submit(); } Send a message to Geoff Peters (using an open source PHP Web to SMS form)
print($PHP_SELF);" method="POST" name="BASform" target="_self" id="BASform">