default value plus validation
Hey Ray
Have set up a color picker on an insert page and have got it so that it retains a selected color on failed validation. What I am trying to figure out is if I can also set the value to, for example, #ffffff right at the beginning as the default, and then if a differnt value is then selected then that latter one is the one that is retained?
So far
<input type="text" id="ServicesColour" name="ServicesColour" class="ServicesColour" value="<?php echo(ValidatedField("contentinsert","ServicesColour")) ?>">
Cheers
Jamie