Solved

Auto Fill Field

Posted on 2004-04-07
8
273 Views
Last Modified: 2010-04-25
I have a form that requires the user to input their name and e-mail address as well as other fileds. I already have all the users information in a databse. Is it possible that once a user locates their name(drop down list) , the e-mail address automatically fills in. ?

0
Comment
Question by:jkatz2
  • 4
  • 3
8 Comments
 
LVL 35

Expert Comment

by:mrichmon
ID: 10779046
Sure.

You can do this by either having all of the information in a javascript array and then whent hey change the select box it finds the corresponding email and fills it in.

Or if there are too many users to be unmanageable and you have access to a server side language then you can use an iFrame to do a background submit to the database to look them up and then return the info to javascript which then updates the page.
0
 
LVL 20

Expert Comment

by:trailblazzyr55
ID: 10782332
Are you using coldfusion?
0
 

Author Comment

by:jkatz2
ID: 10783509
IIS
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10784221
IIS is not an answer because IIS is a web server not a server side language.

What language are you coding in ?  Choices are things like ASP, PHP, Cold Fusion, etc.

If you don't know, look at the file extension is it .cfm? .asp? .php?

If you still can't tell then post some code that DW wrote for you.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:jkatz2
ID: 10784685
Sorry about that I thought you were asking about that server.

ASP
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10793321
Well would you prefer the Javascript option or the iframe option?

Note that the ifram option still requires javascript to be enabled, but depending on the size of your database can make the javascript source code smaller.
0
 

Author Comment

by:jkatz2
ID: 11098888
Sorry been away for awhile. The Iframe option seems to be the best for my situation.
0
 
LVL 35

Accepted Solution

by:
mrichmon earned 50 total points
ID: 11098973
Here is a link to the code that I provided for another person here :
http:Q_20936125.html
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Free website editor 10 552
Download all files with one click 7 589
Pattern Matching LF in Dreamwever CS5 2 273
Dreamweaver server behavior gone 6 76
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

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

10 Experts available now in Live!

Get 1:1 Help Now