Jump to content

field_forwarder() help!! Need the user to be able to make edits


Recommended Posts

I am using field_forwarder in my multi-page form. It works beautifully but I have now been asked to alter the script so that the client is able to go back at any point and change info if needed, but the field variables get wiped out if you go back.

Any help is greatly appreciated as I dont want to start over with this script! I am also a newbie at php so may need some hand-holding  ;D
It may be insecure(Correct me if im wrong) But you could use php Sessions. Do some googleing on sessions, basically there a Global variable for each "Session" that is opened with the webserver.
they are valid untill the Explorer window gets closed.
Cheers,
NAthan
Can anyone please elaborate on this. I have tried to do a search on sessions and have placed
[code]<?php
session_start();
include ('../../field_forwarder.php');
?>[/code]

at the top of my pages. But if I use the 'back' button on the browser I get a post data error. I read that this is because my form uses 'POST' instead of 'GET' but field_forwarder() requires 'POST'

Any help would be very much appreciated.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.