Thanks for the code!... But its not exacly what I'm looking for...

I want to move from page to bage (And back again) using links and not
actually submit the sub-form...

Is that even possible without using JavaScript "onFocus" etc??

-Nelson

"Nick Clarkson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Here's an example to get you started - created 2 files as below, 1.html
and
> 2.php
>
> The important bit is value="<?php echo $_POST['username'];?>
>
>
> Nick
>
>
> FILE : 1.html
>
> <html>
> <form action="2.php" method="post">
> <input type="text" name="username" size="40" maxlength="256">
> <input type="submit" value="submit">
>
> </form>
>
> </html>
>
>
> FILE : 2.php
>
> <html>
> <form action="2.php" method="post">
> Name : <input type="text" name="username" value="<?php echo
> $_POST['username'];?>"size="40" maxlength="256">
> Address : <input type="text" name="test" size="40" maxlength="256">
> <input type="submit" value="submit">
>
> </form>
>
> </html>
>
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED]
> Sent: 18 February 2003 11:15
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Preserving form field values between pages/tags
>
>
> Hi,
>
> I'm building a form page that has 3 tags for different types of fields
(i.e.
> Personal details, location details, other).  I want to preserve the values
> of the filled in fields as the user moves from section/tag to section/tag.
> I've tried making each tag a separate page and use the URL to pass values,
> as well as put it all on one page and hide fields (which became more
trouble
> than it was worth!).
>
> Does anyone have a more practical/useful way of preserving field values
from
> page-to-page... or hiding fields as a user clicks on each tag?
>
> Thanks,
>
> -Nelson
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to