UNPKG

form-autofill-js

Version:

Tool for autofill html forms using a controlled way

54 lines (48 loc) 1.7 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Untitled Form</title> <link rel='stylesheet' href='view.css'> <script type="text/javascript" src="main.js"></script> </head> <body id="main_body" > <img id="top" src="top.png" alt=""> <div id="form_container"> <form id="form_26102" class="appnitro" method="post" action=""> <ul > <li id="li_1" > <label class="description" for="element_1">Name </label> <div> <input id="element_1" name="name" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_2" > <label class="description" for="element_2">Email </label> <div> <input id="element_2" name="email" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_3" > <label class="description" for="element_3">Phone </label> <div> <input id="element_3" name="phone" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_4" > <label class="description" for="element_4">Address </label> <div> <input id="element_4" name="address" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li class="buttons"> <input type="hidden" name="form_id" value="26102" /> <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" /> </li> </ul> </form> </div> </body> <script> window.onload = function () { Autofill.tool() } </script> </html>