Solved

Form & Access Database Question!!!!

Posted on 2000-04-14
2
223 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jQuery Dialog Autoresize Bug 2 25
Head to not include on scroll 4 23
Copying table data to one another 15 31
output of netstat -r in Powersshell HTML 3 28
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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

828 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