2
   

How to Populate text box from drop-down list

 
 
View Profile 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>
 
View Profile 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

THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
how to earn money in internet - Discussion by rizwanaraj
There is no Wisdom in Crowds - Discussion by ebrown p
CSS Border style colors - Question by meesa
Parallel Processing in PHP - Discussion by alirizwan
 
  1. able2know
  2. » How to Populate text box from drop-down list
Copyright © 2009 Horizontal Verticals :: Page generated in 0.36 seconds on 11/26/2009 at 09:11:59 Top End