|
Post by acoolie530 on Apr 18, 2005 1:44:12 GMT
Name: No blank display names Compatibility: Firefox/IE Edit: None Preview: None Placement: Main Footers Features: Users can not have a blank spaces as their display name. Has an alert and sends them to the page for if they inputed the wrong current password
<script> //No blank display names by acoolie //This header must stay in tact
if(location.href.match(/action=profile&username=/i)){ document.creator.onsubmit = function(){ if(document.creator.name.value.match(/\s+/i) && !document.creator.name.value.match(/\S/i)){ alert("Please do not use a blank space as your display name") document.creator.currentpass.value = "" }}} </script>
|
|