Buttons to Enter Values in Password Input Box
I need to make a keypad that will enter number/letters into an existing password input box in the a form. Users are using touchscreens and do not have a keyboard, so they need to touch buttons to type in a password.
I have to believe this is possible. Please advise.
Thanks,
zak
Fixed
I was able to get this working with custom HTML (pasted below). Does anyone know how to set a simple name for the password box? Based on this HTML below, I found that Forms[5] has the name "~SignOn~SignOn~inputXuserInfoXpasswordXNone~_ag_uid45" which is not practical to put in code.
<html>
<head>
<aglyt:declare xmlns:aglyt="http://www.activegrid.com/model/layout.xsd" name="CustomOne" displayName="CustomOne">
<aglyt:applyToTypes>group</aglyt:applyToTypes>
<aglyt:category>NO CATEGORY</aglyt:category>
<aglyt:description>NO DESCRIPTION</aglyt:description>
<aglyt:parameters/>
</aglyt:declare>
</head>
<body>
<input type="button" name="SUBMIT"
style="width:100px;height:50px;font-size:20"
class="portlet-form-button" value="1" onClick="hit1()"/>
<script language="JavaScript">
function hit1() {
Forms = document.forms[0];
Forms[5].value = Forms[5].value + "1";
}
</script>
</body>
</html>