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