# Dynamic default value for input text box

**URL:** <https://forum.kirupa.com/t/dynamic-default-value-for-input-text-box/158790>\
**Category:** Uncategorized\
**Created:** [August 11, 2005, 10:24pm UTC](https://forum.kirupa.com/t/dynamic-default-value-for-input-text-box/158790 "2005-08-11T22:24:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sigepmest37](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sigepmest37](https://forum.kirupa.com/u/sigepmest37)\
**Post date:** [August 11, 2005, 10:24pm UTC](https://forum.kirupa.com/t/dynamic-default-value-for-input-text-box/158790/1 "2005-08-11T22:24:55Z")

</div>

i have created a form in which a user will input text that will be sent to php and then be put in a txt file on the server. my problem is when the user returns to the input box it shows it being blank. I want the text that they input the last time they were there to be in the box when they arrive so they can add to it.

in essence i need the input box to first act as a dynamic text box that loads external data from the txt file, then be able to be edited as an input text box

i hope i made this clear…my thoughts are a little chaotic lol

thanks for the help
