scousethemoose
Programmer
Heres my problem, I think it can be solved using sessions variables but I'm not sure exactly how to implement it.
I have a page in which a user can upload a file, initially only one upload field is visible, a user can increase the number of upload fields using a button which reloads the page with the additional fields.
This is done by repeating the html code for the form fields using a while loop.
Now to my problem... How can I set it up so that if a user decides that they want an additional field the information they have entered alreading isnt lost on the page reload?
Is there any alternatives to a page reload, maybe a client side script to increase the fields with out a reload.
Its probably already been covered somewhere but I cant seem to find it.
Can anyone help or at least point me in the right direction?
I have a page in which a user can upload a file, initially only one upload field is visible, a user can increase the number of upload fields using a button which reloads the page with the additional fields.
This is done by repeating the html code for the form fields using a while loop.
Now to my problem... How can I set it up so that if a user decides that they want an additional field the information they have entered alreading isnt lost on the page reload?
Is there any alternatives to a page reload, maybe a client side script to increase the fields with out a reload.
Its probably already been covered somewhere but I cant seem to find it.
Can anyone help or at least point me in the right direction?