Re: Two forms
Shelly wrote:
My main problem with that solution:
If in the single form solution I gave javascript doesn't kick in/is
disabled, everything can work as planned, only in the same window instead
of a new one.
In the 2 form solution, if javascript is disabled, you'll get a new window
with an error, because is lacks data.
--
Grtz,
Rik Wasmus
Shelly wrote:
Not a problem getting the script, but I fixed it a different way. I
had posted this to this group and to alt.comp.lang.p hp. Gleep
answered there and that led me in the right track. What I did was
use javascript with onchange in formA's drop-=down list to set a
hidden variable in formB. Then when I hit a submit button in formB, I
read the value of that hidden variable. it works like a charm -- and
I can use that to do other things as well in other code.
>
Thank you four your help and interest.
had posted this to this group and to alt.comp.lang.p hp. Gleep
answered there and that led me in the right track. What I did was
use javascript with onchange in formA's drop-=down list to set a
hidden variable in formB. Then when I hit a submit button in formB, I
read the value of that hidden variable. it works like a charm -- and
I can use that to do other things as well in other code.
>
Thank you four your help and interest.
If in the single form solution I gave javascript doesn't kick in/is
disabled, everything can work as planned, only in the same window instead
of a new one.
In the 2 form solution, if javascript is disabled, you'll get a new window
with an error, because is lacks data.
--
Grtz,
Rik Wasmus
Comment