Solved

Form & Access Database Question!!!!

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ust html in ms/access WebBrowswer 11 45
Summernote and form validation 10 44
javascript to html map 8 39
Paper tearing animation 6 43
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

746 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

12 Experts available now in Live!

Get 1:1 Help Now