Defualt Value to Form Field
Hi; I am trying to add a default value to my form fields so that I do not have to use labels.
I was trying to use the following code
value="Your Name:" onfocus="if(this.value=='Your Name:'){this.value=''}" onblur="if(this.value==''){this.value='Your Name:'}"
by adding it to...
<input id="Full_Name" name="Full_Name" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("index2","Full_Name"):"")); ?>" class="formTextfield_Large" tabindex="1" onblur="hideServerError('Full_Name_ServerError');"/>
I can not get both to function together.
Any help would be appreciated.
Thanks