Solved

Form & Access Database Question!!!!

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

786 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