Use onClick="Javascript:window.location='page.php'";
You can also use top or parent, instead of window. It just depends exactly
how you want it to behave. I think window is fine for what you need.
Chris
> Some more detail on that second thing... Can I make a custom button with
an
> onclick= to go to the page in question... I tried using
> onclick="http://..." but it erred out...
>
> Thanks again!
>
> "Pam Will" <pwill@m...> wrote in message news:97438@p..._php...
> >
> > Okay, if the concensus is Sessions... can someone point me to a good
> article
> > on sessions and how for the forms I have be able to implement them?
OR is
> > there an easier solution? Maybe the question on page 2 is buttons with
> Yes
> > and No and those button direct them in the form to take the variables
> along?
> >
> > "Pam Will" <pwill@m...> wrote in message news:97369@p..._php...
> > >
> > > Holy cow you guys! I went in today to see what reply I had waiting
for
> me
> > > and NEVER expected all the wonderful ideas! Let me see if I can
kinda
> > > condense everything here and put some code examples, etc. Also, let
me
> > > preface this with the fact that I am by no means an expert in any of
> this
> > > stuff - we had a website designed professionally for us about two
years
> > ago
> > > and management would like to do a redesign but first host the web
site
> > > in-house to save on $$$. So, since I'm the only IT person on staff
with
> > > light to moderate web skills (I've been making the text changes to
our
> > > existing site for the past year), I've been chosen to get this thing
> > > in-house. Because the business does not want to pay the $$$ for the
SQL
> > > license to write the data collected from forms AND the fact that the
> forms
> > > were not asking the correct questions, etc. I'm having to redesign
them.
> > > This form originally was created 2 years ago and is over 5 pages
printed
> > > out!!! So, my first task with redesign was to figure out how I could
> > break
> > > the information apart in a more logical approach and not appear to
be so
> > > enormous that a customer wouldn't bother. Given that background.
here
> are
> > > the goodies.
> > >
> > > The original form can be seen at
www.memberins.com/forms/Group_Life.asp
> > >
> > > My redesigned mock up can be found at
> www.memberins.net/forms/partners.asp
> > >
> > > After filling out the information on this page, the continue button
> loads
> > > the Partners_page2.php page in which the customer responds if they
> > currently
> > > have a Group Benefit program or not (PLEASE NOTE: I have not
implemented
> > any
> > > error checking yet as to the validity of the data - I'm trying to do
one
> > > thing at a time - LOL). Based on the response to what is entered on
> this
> > > page, I need to figure out if they go to partners_page3.php which
asks
> for
> > > more detailed information about their current plan OR just skip page
3
> and
> > > move on to page 4. Those directed to page 3 will still need to go to
> page
> > 4
> > > BUT if a person doesn't have a current plan, no sense in having them
> > brought
> > > to a page that they can't fill anything out on, right?
> > >
> > > So, if anyone can think of how I can move the variables along. that
> would
> > be
> > > great! I got from a PHP book the following code snippet that I'm
using
> to
> > > pass the variables along and can be found at the bottom of Page 2's
> code.
> > .
> > > it is
> > >
> > > <?
> > > if ($HTTP_POST_VARS) {
> > > while (list($lvar, $lvalue) = each($HTTP_POST_VARS)) {
> > > echo "<INPUT TYPE=HIDDEN NAME='$lvar' VALUE='$lvalue'>\n";
> > > }
> > > }
> > > ?>
> > >
> > > So, maybe the visual to the pages will help as well as the
background as
> > to
> > > the why of what is going on. I still have a lot of work (like error
> > > checking the data, writing the data to MySQL, and the Census
information
> > but
> > > I'm trying to take this one issue at a time instead of going 10
> different
> > > directions at once!
> > >
> > > Thanks again so MUCH for all your help! I really appreciate it and
hope
> > > that one day I'll be able to participate with answers instead of
> > questions!
> > >
> > > "Pam Will" <pwill@m...> wrote in message
news:96971@p..._php...
> > > >
> > > > I have a multi-page form...
> > > >
> > > > Page 1 -- Customer Information
> > > > Page 2 -- Ask a question and based on answer I want to either move
to
> > the
> > > > next page (page 3) or move down the line to page 5 since the
questions
> > on
> > > > page 3 and 4 do not pertain to the customer entering the
information.
> > > >
> > > > Someone suggested that I use the header for processing the script
and
> > > doing
> > > > a redirection... However, I am losing all my variables from the
> previous
> > > > page...
> > > >
> > > > Any suggestions on how I would do this type of processing?
> > > >
> > > > I can send my pages if that would be helpful.
> > > >
> > > > Thanks!