Readonly attribute isn't supported by all browsers.  Try something along the
lines of:


<input name="" type="text" id="" size="" >
-----Original Message-----
From: Kevin [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 11:07 AM
To: CF-Talk
Subject: Problem preventing a text input field from getting focus

Hi all,

After the awesome help that Dick and others have provided throughout the
night has given me the ability to do what I need. Now I only have one more
problem that I can not seem to fix. I want to make the fields that I filled
in with my java function to be inaccessible to the user. I have added the
READONLY parameter to the input tag but it still allows me to tab into it.
Here is an example of the code on one of the fields.

<input name="addressLine1" type="text" id="addressLine1" size="50" READONLY
/>

I also tried it with the following and still it tabbed into this field.

<input name="addressLine1" type="text" id="addressLine1" size="50"
READONLY="YES" />

What am I doing wrong or does this property get nixed when I set the value
in the java function? So simple and yet so frustrating. :-(

Thanks again!
Kevin
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to