Passing a url value to a form
I am trying to pass a value in a url on to a form. The url value is called username (www.whatever.com?username=joe). I can pass the value on username on to the form with no problem unless username is blank. Then when the form loads i get the error username is undefined. How do i get around this?
<cfinput type="text" name="username" message="fill in username " validateat="onSubmit" required="yes" id=username" value="#url.username#" tabindex="3" />
I have tried <cfif isdefined("url.username")> for the value and cant seem to get it right. I know im on the right track but i am somewhat dead ended.
Thanks in advance.
