creo que ya me resulto pero necesito deshabilitar 3 botones .. para que primero el usuario llene lo que hay en el 2do formulario..
hay algun escript.??. que pueda relacionar cuando accione el boton del segundo formulario para que se activen los 3 botones del primer formulario ?
Código:
<form name="frm1" method="post">
<table id="contenido" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td id="tagline"> Registro de Datos</td>
</tr>
<tr>
<td> <p> </td>
</tr>
<tr>
<td id="estatic"><?php echo "Obra: ".$robra."<br>";
echo "Fase: ".$row_Recordset['descrip_fase']."<br>";
echo "SubFase: ".$row_Recordset1['descrip_subf']."<br>";?></td>
</tr>
<tr>
<td>
<input name="robra" value="<?php echo $robra; ?>" type="hidden" />
<input name="ridfase" value="<?php echo $ridfase; ?>" type="hidden" />
<input name="ridsubf" value="<?php echo $ridsubf; ?>" type="hidden" />
<input name="ppresup" value="<?php echo $ppresup; ?>" type="hidden" />
<input name="pfinanc" value="<?php echo $pfinanc; ?>" type="hidden" />
<br /></td>
</tr>
<tr>
<td>
<label> Actividad:</label>
<input name="activ" type="text" size="50" maxlength="45"/>
<p>
<label>Fecha Inicio: </label>
<input type="text" name="startdate" id="startdate" onfocus="popup1.setTarget(this);" />
<label> Fecha Término: </label>
<input type="text" name="enddate" id="enddate" onfocus="popup1.setTarget(this);" />
<p>
<label>Tipo Moneda:</label>
<select name="t_moneda">
<option value="1">MN</option>
<option value="2">USD</option>
</select>
<label>Linea Base:</label>
<input name="lb" type="text" size="4" maxlength="2" />
<p>
<label>Justificación: </label>
<textarea name="justifica" cols="50" rows="1"></textarea>
<br />
<input name="cont_fase" type="hidden" value="<?php echo $cont_fase;?>"/>
<input name="cont_subf" type="hidden" value="<?php echo $cont_subf;?>"/>
<input name="cont_activ" type="hidden" value="<?php echo $cont_activ;?>"/>
</td>
</tr>
<tr>
<td><input name="afase" type="button" value="Fase" onclick="envia2('agrega_fase.php');"/>
<input name="asubf" type="button" value="Subfase" onclick="envia2('agrega_subfase.php');"/>
<input name="aactiv" type="button" value="Actividad" onclick="envia2('agrega_activ.php');"/> <p><p></td></tr>
</form>
<tr>
<td>
<form name="formulario" action="pruebas.php" target="ventana" onsubmit="window.open('http://localhost/WBS/pruebas.php','ventana',caracteristica);" method="post">
<label> Monto:</label>
<input name="monto" type="text" size="20" maxlength="15" />
<input name="ppresup" type="hidden" size="20" maxlength="15" value="<?php echo $ppresup; ?>" />
<input name="reque_dev" type="submit" value="DV" />
</form></td>
</tr>
</table>
asi quedo...