Forums

confirmation page

alfredopacino 03 Jul, 2012
hi, i noticed onsubmit on confirmation page don't get the fields $_POST array..i dont get any field value.
do i insert <input name"xxx"> for all fields in confirmation page too?

another problem: on click on 'cancel' (confirmation page) the form reloads without fields value!
alfredopacino 04 Jul, 2012
please help me, i can't go on. 😟
if its not clear for my poor english tell me
GreyHead 04 Jul, 2012
Hi alfredopacino ,

Yes it is, you need to create your own template. An easy way to start is to generate an email template and copy and paste that into the Confirmation Page action.

Bob
alfredopacino 04 Jul, 2012
hi, its too late, i create -manually- a 70 fields report 😀

there's another issue, now i have:
Confirmation page
[ onShow[data to session]]
[ onConfirm[session to data]]

i noticed the file upload field remains empty on confirm (just that field)
GreyHead 05 Jul, 2012
Hi alfredopacino,

I think that the file name should be in the form data after the Upload Files action - but not before that.

Bob
alfredopacino 09 Jul, 2012

Hi alfredopacino,

I think that the file name should be in the form data after the Upload Files action - but not before that.

Bob


sure.

in attachment a backup of a little example how i using session to data/data to session: in this way, as you can see, i loose the filename field value OnConfirm (submit of confirmation page) and so i cant save in database.

where do i do wrong?

ps: in confirmation page i just need the file name, i would actually upload the file after submit on confirmation page.
GreyHead 10 Jul, 2012
Hi alfredopacino,

If you look at the sequence of your actions you'll see that you are doing the DB Save before you do the Upload Files. That explains why the file name isn't saved.

You can either re-think the sequence (which I'd recommend); or use a custom code action to get the file name out of the $_FILES array. If you do that you need to be aware that the Upload Files action may rename the file or fail the upload.

Bob
alfredopacino 10 Jul, 2012
Can you suggest me the correct sequence of actions i need (i'm not sure at all of data to sessio/session to data, event loop, db save usage)
the filename value isn't the only problem!

This topic is locked and no more replies can be posted.