Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Feb 11, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Using Hidden Fields to Pass Data

In HTML, I am using the FORM Tags to capture input and SUBMIT to a CGI Program. The server program captures all INPUT Tags and their VALUE. I want to pass a TEXT Field with data that the User never sees. Is there an attribute to indicate that the INPUT Text Field is not visible but is filled in with a default. If this is not possible, is there another means to my desired end.

Take a look at the source of any of the forms at Ask the ActiveX Pro or Ask the VB Pro. I use hidden fields extensively and all of the forms have hidden fields. Here is an example of a hidden field with a default value:

This sends along where the e-mail should go from the form that you fill out.
DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date