BounceFish 

Website Solutions
Search
      home solutions clients resources faqs contact us  
  See our portfolio under the solutions section.

Resources - For Developers

Back to Resources For Developers Homepage

================COPY CODE BELOW===========================
<form name=myform>
<input type=text name="thisfield" size=10 disabled onFocus="if (this.disabled) this.blur()" value="">
</form>
<script language="JavaScript">
<!--
document.myform.thisfield.disabled=true;
//-->
</script>

================COPY CODE ABOVE===========================

    INSTRUCTIONS
  • Paste code inside body <BODY></BODY> of HTML page
  • Change form name and field value to suit your pre-existing form

    DESCRIPTION
  • This restricts the user enter any data into a form field. Useful if the field is filled in for the user.

 

Copyright © 2003-2012. BounceFish Web Design. All rights reserved.