Ver Mensaje Individual
  #5  
Antiguo 14-07-2023
ASAPLTDA ASAPLTDA is offline
Miembro
 
Registrado: jun 2003
Ubicación: COLOMBIA-CALI
Posts: 639
Reputación: 21
ASAPLTDA Va por buen camino
Leer que boton presiono en la forma

<form class="zoom" action="/action_login">
<label for="usuario">Usuario:</label><br>
<input type="text" id="usuario" name="usuario" maxlength="15" size="15" value="SYSDBA"><br>

<label for="Passw">PassWord:</label><br>
<input type="password" id="Passw" name="Passw" maxlength="15" size="15" value="masterkey"><br>

<label for="Login">Login</label><br>
<input type="submit" id="Login" name="boton" value= "BTN_LOGIN" >
<input type="submit" id="Terminar" name="boton" value= "BTN_TERMINAR" >
</form>




// Leer que boton presiono en la forma
g_NombreBotonPresionado:= Request.QueryFields.Values['boton'];
if g_NombreBotonPresionado = 'BTN_TERMINAR' then
begin
Response.Content:= FTerminar.HTMLDoc.Text ;
Exit;
end;
Responder Con Cita