Solved

Auto Fill Field

Posted on 2004-04-07
8
281 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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
Rotating Adobe pdf document 4 329
frames top frame repeats 4 138
Adobe Products Forum? 3 165
Adobe Acrobat Pro: Is this a known bug? 9 136
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…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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