No I am saying that if you have:
<input type .... name = "w1" value = "lkjlkjlj">
<input type ... name ="w2">

 and you click submit then if you click back to see
the form the value you set w2 will be blank. If you
reverse the order however then you will see what you
entered in w2


--- "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> b b wrote:
> 
> > Problem:
> >  I am running apache/php server. If I populate a
> form,
> > send it and then click back I see a blank form. 
> > 
> > Solution:
> > I had some prefilled form elements where I set the
> > value of such form element. For example I had 
> > input type = "hidden" VALUE="whatever" ... at the
> > beginning of the form.
> > 
> >  when I took that hidden variable out and had it
> at
> > the end of the form after all the other elements I
> the
> > problem was solved. Actually any element with its
> > value preset should go to the end of the form. In
> that
> > case when I hit back my form was prefilled the way
> I
> > submitted it. 
> 
> Are you saying you have something like this:
> 
> <input type="text" name="foo" value="">
> <input type="hidden" name="foo" value="bar">
> 
> in order to set a default value? If that's the case,
> you'll never get 
> your value of "foo" from the textbox as the hidden
> value will overwrite it.
> 
> The entire issue is up to the client's browser and
> has nothing to do 
> with PHP. It's up to each browser whether it keeps
> your values or not; 
> I've seen it happen both ways with different
> browsers.
> 
> -- 
> ---John Holmes...
> 
> Amazon Wishlist:
> www.amazon.com/o/registry/3BEXC84AB3A5E/
> 
> php|architect: The Magazine for PHP Professionals –
> www.phparch.com
> 
> 
> 
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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

Reply via email to