Hi all,
I have a problem that I can't seem to find the answer to.
I have a 7 part multipage form. On page 4 I have an image upload action, page 5 event I do the uploading and this all works fine and as it should do; images are uploaded correctly to the path I have set, my problem is that by page 6 the file name us being lost in the $form-data, it just disappears. When I say disappears I mean the actual array element is not showing in the debug info and not that the array element is empty
Does anyone know what is going on here, or seen this issue before?
Some notes.
Multipage action is at the top of each page event and the session option is set to yes.
I have a problem that I can't seem to find the answer to.
I have a 7 part multipage form. On page 4 I have an image upload action, page 5 event I do the uploading and this all works fine and as it should do; images are uploaded correctly to the path I have set, my problem is that by page 6 the file name us being lost in the $form-data, it just disappears. When I say disappears I mean the actual array element is not showing in the debug info and not that the array element is empty
Does anyone know what is going on here, or seen this issue before?
Some notes.
Multipage action is at the top of each page event and the session option is set to yes.
UPDATE
I have been testing the form this morning and now it does seem to pass the array element.
Although now it's not passing the value. All other values from the form are being passed correctly from all the other pages, it's just the file upload that isn't being passed on through
Allan
I have been testing the form this morning and now it does seem to pass the array element.
Although now it's not passing the value. All other values from the form are being passed correctly from all the other pages, it's just the file upload that isn't being passed on through
Allan
Hi allanbeth,
The value isn't set until after the Upload Files action runs. If you are using the Multi-page action at the start of the On Submit event then it is being saved before the fine name is set. I think that the way round this is to add a Data to Session action after the Upload Files action so include the extra data.
Bob
The value isn't set until after the Upload Files action runs. If you are using the Multi-page action at the start of the On Submit event then it is being saved before the fine name is set. I think that the way round this is to add a Data to Session action after the Upload Files action so include the extra data.
Bob
This topic is locked and no more replies can be posted.