FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
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; |
#2
|
|||
|
|||
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 |
#3
|
||||
|
||||
Thank you very much
|
#4
|
|||
|
|||
#5
|
|||
|
|||
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 |
|
|
|