top frame:
<form target="bottom_frame" action="show_form.php">
<select name="form" onChange="this.form.submit()">
<option value=""> -- choose a form -- </option>
<option value="form1"> first form </option>
<option value="form2"> second form </option>
</select>
<input type="submit>
</form>


bottom frame (show_form.php):
switch($_GET['form']){
   case 'form1':
       include 'form1.php';
       break;
   case 'form2':
       include 'form2.php';
       break;
   case '':
       echo 'choose a form';
       break;
}

I showed you just the basics, don't forget to name the bottom
frame bottom_frame (or change the target). This can be done also
on a simple page

Chris Rehm wrote:

Good point, lack of javascript is a consideration.

The request is for a form where the second half format is dependent on
the first half. In other words, they make some choices on the top that
determine what the form on the bottom will be. But the guy who wants
this, wants it to be one screen.

Marek Kilimajer wrote:
> Did you get a request for a two part form, or for a form on 2 pages? The
> problem I see is with browsers
> without javascript (either turned of or not implemented)
>


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

Reply via email to