Solved

Form & Access Database Question!!!!

Posted on 2000-04-14
2
202 Views
Last Modified: 2010-04-09
-I have a form that I have send it's information to a database.
-I need to send a specific string of text(THAT WON'T CHANGE)to a column in the database but I can't use pull down menu's or text boxes or anything of that nature.
EXAMPLE:

<HTML TEXT>How do you like the RED Teams performance?</HTML TEXT>

-How can I take the word RED and insert it in a specific column in a table of a Database??
-Is there a way to do this in Javascript??
-Can I use a single line text field and make it so that the text cannot be changed??  If so then I could use that and make it work??
0
Comment
Question by:mtking
2 Comments
 
LVL 1

Expert Comment

by:fallon12345
ID: 2717476
Are you using ASP/Cold Fusion?

The easiest way is to put the field in a hidden text box.
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 100 total points
ID: 2717486
I agree that hidden fields are the way to go:

 <INPUT type='hidden' name='myfield' value='RED'>

Here is an example of a text field that won't change (and that's not hidden)

 <INPUT type='text' name='myfield' value='RED' onFocus='this.blur();'>
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now