Cursor Location in Textbox Revisited

S

Steve Spicer

A couple of weeks ago I asked the question why
<input type=text name=v size="38" value="<%=FP_FieldVal(fp_rs,
"FirstName")%>">
put the cursor on the second character in the textbox when field in the
database is empty. I've now found the answer..that the function FP_FieldVal
always calls a space ($nbsp;). The solution is to use an IF THEN clause in
the value statement. I've stated, and shown, the problem and the solution at
http://spicerweb.org/databases/default.asp
for anyone who is interested.
Cheers, Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top