2
   

How to Populate text box from drop-down list

 
 
royk
 
Reply Wed 19 Jan, 2005 05:28 am
I need to populate the text box below based on what's selected from the dropdown list. The selection in the dropdown list is to read the contents of a text file eg.deceasedestate.txt and the contents of that file(deceasedestate.txt) is as follows:
---------------------------------------------------------
Full Name of the person who informed us:
Who are they:
Date of Death of Investor:
Full name, Address and Contact Phone Number:
-----------------------------------------------------------


Any help will be appreciated. I have coded the outline/interface.

<html>

<form name="frmSelect" method="POST">

<select name="firstSelect" onChange="populatetextbox()">

<option selected value="Select One">Select One</option>
<option value="Deceased Estates">Deceased Estates</option>
<option value="Adjustments">Adjustments</option>
<option value="Change of Details">Change of Details</option>
<option value="Correspondence">Correspondence</option>
<option value="Family Law">Family Law</option>
<option value="Insurance">Insurance</option>
<option value="RIP/RWP">RIP/RWP</option>
<option value="Application">Application</option>
<option value="Redemption">Redemption</option>

</select><br><br>
</form><br><br>

<textarea cols="60" rows="10" name="dumphere"> </textarea>

</body>

</html>
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 5,688 • Replies: 1
No top replies

 
B-truE
 
  1  
Reply Wed 16 Feb, 2005 12:46 pm
Hi royk,

I don't think I am suppose to post external links here, so I'll just tell you that you can find the answer by using Google.

Just go to Google.com and search on "how can i populate a text box from a dropdown."

By the way, your same question (posted earlier here) comes up as number 1. But, there are answers in the links to follow.

Best Regards,

B-truE
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » How to Populate text box from drop-down list
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 1.65 seconds on 04/26/2024 at 01:38:07