Scrolling Text box

E

Ellen

Hello! I am wondering if there is a way to make a
scrolling textbox inactive once it is published to the
web. The scrolling text boxes have initial values in that
I do not want to be changed by the user. I see that the
regular one line text box offers to add a password to it
before it can be touched. I need to use the scrolling text
box due to the amount of data I have pre filled in. Any
suggestions would be appreciated. I should also say that
the text boxes are used in a form where the data is being
entered into a database so it is an active server page.
TIA for any help.......Ellen
 
K

Kevin Spencer

Hi Ellen,

The "password" property you see in the text box is for making it an input
type="password" instead of an input type="text" - The password box shows "*"
characters instead of the text you type, and the browser won't remember the
values typed into it. It doesn't prevent the user from inputting data -
that's what it's designed for!

Why are you using a scrolling text box for static data? Why not just put it
into a table cell or scrolling div? A scrolling text box is for user input,
just like any other form field.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big things are made up of
lots of little things.
 
E

Ellen

Thanks for the quick response Kevin. The data that I am
putting into the scrolling text box has to also be entered
into the database with the data that the user is going to
enter into 2 other scrolling text boxes that line up with
the data already known. Memo boxes are set up in Access
for these four categories. For example:

Part Number Ref. Designator Manuf. ID Lot/Date
12345 U102
78910 R203
98765 R201

The user has to add the manuf. ID and the Lot/Date that
corresponds to the proper part number and ref. designator.
All of this data needs to stay together as one record in
the access database. Thanks, Ellen
 
E

Ellen

Yes, that would be fine but how do I do that? I don't see
anything in the properties of the scrolling text box with
that option. TIA!
 
C

chris leeds

it's not an option you'll have to look at the html and if it's a FrontPage
form it may get overwritten by FrontPage if you open the form again. it'll
be in the same line as the box. it'll look something like this:
<textarea name="emailBodyDummy" rows=6 cols="40" readonly wrap="soft">
HTH
 
T

Thomas A. Rowe

FP will not delete or overwrite the readonly attribute.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
F

FrontPageForms

Ellen,

I have a script link on my site and an example of what
Chris was telling you about, which I have applied to a
Text Area. By changing the HTML per Chris's instruction,
yours should work the same.

This way you can see it in action. My link is here
http://FrontPageForms.com/Locked_Text.htm

Mine is set as an FP form. If you were to use it in this
fashion, it would need an htm or html extension as the FP
form would not work with .asp

The original script however is probably adaptable for ASP.


Mike,
http://FrontPageForms.com
Visit my form tutorials
 
E

Ellen

Thanks for all the information. I will try to do it with a
Front page form and see if that works. I still have to be
able to send the data to a database so I thought that
would have to be an asp. Ellen
 

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