|
Posted by Rik on 10/18/06 20:24
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.php. 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.
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
Navigation:
[Reply to this message]
|