Identificarse | Registrarse | FAQ
Anonymous

Need help for autosubmit

+ Publicar una respuesta

1 mensaje Página 1 de 1


Need help for autosubmit

por Redge » Sab Abr 28, 2018 2:09 pm

Good morning everyone, I need the help of some html specialist

first , my english is bad (french spoken)
second, I'm a newbie/bad in programmation (not my domain).

Need help to automate a existing (local) webpage connection.

So far I been able to enter automaticaly the username and needed password to the form , but I dont know how to automatically submit the form whitout click on the button.

I know this is not the secure way of doing thing , but its a local page , on a kiosk, no input device for displaying a calendar.

can anyone can help me, sample code bellow ?

Thank

Redge


<h2>Login</h2><div id="boxlogin" class="loginbox">
<h4 style="color:red"></h4>

<form action="http://some-local-website/sessions/authenticate" method="POST" accept-charset="utf-8">
<dl>
<dt><label for="login">Login</label></dt>
<dd><input type="text" name="user[login]" value="username-exemple" />
</dd>

<dt><label for="password">Password</label></dt>
<dd><input type="password" name="user[password]" value="fake-password" />
</dd>

</dl>
<ul>
<li><input type="submit" name="submit" value="Login" />
&nbsp;<input type="submit" name="logout" value="Cancel" />
</li>
</ul>

</form></div>
Avatar de Usuario

Redge

  • Mensajes: 1
  • Registrado: Sab Abr 28, 2018 1:56 pm


+ Publicar una respuesta

Página 1 de 1