Hi Everybody,
My problem is so similar, but a bit difference. I made a form in two parts, the first part upload all values to the tables, but the second part is dynamic and it depends on the previous form, then I need to recall one ID generated second before to related all the second group of values with the first one group and then I can't making it.
I think that maybe if I can pass this $ID through the different pages as far as the page that I make the insert it can work.
Please let me know how can I make that.
Thanks.
James Butler wrote:
Warren is correct.
The way the "file" type of form element works is to provide an interface to point to a file on the local drive. When the page is refreshed, the pointer is not displayed in the field for two reasons:
(1) security, as Warren said, and
(2) because the symbolic link the field value represented is no longer valid, as the browser is seeing a "new" page.
You are seeing the value in the source code because your browser is persistent, but not too clever.
In short, you cannot specify a valid default value in a "file" form element.