Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Internet
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 14-07-2023
ASAPLTDA ASAPLTDA is offline
Miembro
 
Registrado: jun 2003
Ubicación: COLOMBIA-CALI
Posts: 639
Poder: 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
  #2  
Antiguo 14-07-2023
pawantanwar pawantanwar is offline
Registrado
 
Registrado: jul 2023
Posts: 2
Poder: 0
pawantanwar Va por buen camino
To process information sent by web forms in an OnAction event of data action in your CGI WebBroker app, the properties of Request parameter can help.

To access a value entered in a "name" field, use Request.ContentFields['name']. Likewise, other fields like last name, address, email and comboxlist may also be accessible by their respective names.

Once the Request parameter allows accessing form data, any necessary processing or validation can be undertaken prior to saving or sending. For instance, saving can save the data directly into a database; email can then send and collect.

if it doesn't work let me know i will try to find the solution if possible
Responder Con Cita
  #3  
Antiguo 14-07-2023
Avatar de Casimiro Notevi
Casimiro Notevi Casimiro Notevi is offline
Moderador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.044
Poder: 10
Casimiro Notevi Tiene un aura espectacularCasimiro Notevi Tiene un aura espectacular
Thank you very much
Responder Con Cita
  #4  
Antiguo 14-07-2023
pawantanwar pawantanwar is offline
Registrado
 
Registrado: jul 2023
Posts: 2
Poder: 0
pawantanwar Va por buen camino
Cita:
Empezado por Casimiro Notevi Ver Mensaje
Thank you very much

Responder Con Cita
  #5  
Antiguo 16-08-2023
ASAPLTDA ASAPLTDA is offline
Miembro
 
Registrado: jun 2003
Ubicación: COLOMBIA-CALI
Posts: 639
Poder: 21
ASAPLTDA Va por buen camino
Como Manajar Varios Documentos O Form

pawantanwar BUENAS NOCHES
estoy tratando de hacer una aplicacion con webbroker y no he pdoido entender la relacion de el documento con el acction de delphi

No he podido enteder como se relaciona :

<html>
<title>LOGIN</title>

<body>
<form class="zoom" action="/action_login">

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

y el web actions

o como saber que forma estoy procesando o como habilito la web action
no se tenga un ejemplo donde uno pueda navegar entre formas gracias
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 06:46:10.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi