Success page fields are only populated sometimes

Home Forums Quform PHP Success page fields are only populated sometimes

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24320
    markko
    Participant

    Hi Support,

    I have been using your script but only recently on the success page, where the fields the user has typed in are shown along with the success message, are sometimes blank and not filled out. I have managed to replicate this once, but when I click the back button and then resubmit the form the fields are populated. Do you have any ideas why this is?

    eg. form page

    Name: Fred Bloggs
    email: fred@bloggs.com
    tel: 0123456789

    Press submit

    On the success page it says.

    Success form filled out OK,

    here are the fields you have submitted

    Name:
    email:
    tel:

    However I press the back button on my browser and see all the data filled out still in the form. When I press submit again.

    On the success page it says.

    Success form filled out OK,

    here are the fields you have submitted

    Name: Fred Bloggs
    email: fred@bloggs.com
    tel: 0123456789

    So it seems random…

    Do you have any ideas why this may be?

    Thanks

    #24361
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #24992
    markko
    Participant

    Thanks for your help Ally!

    For others;

    Hi

    At the top of the page with the form, before any other code, add this:

    <?php session_start(); ?>

    Regards, Ally
    ThemeCatcher

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy