source: EWD/ewdapps/ewd-fm/pages/modesig.ewd@ 1405

Last change on this file since 1405 was 1282, checked in by Sam Habiel, 13 years ago

Reorganizing directories

File size: 1.3 KB
Line 
1<ewd:config isFirstPage="false">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5<script type="text/javascript">
6SAM = {}; //My global storage object
7SAM.x = function () {
8 // ewd:esigjs^KBANDemo('SAM[20.4]');
9 // document.forms[0].F200I20_4.value = SAM['20.4']();
10 };
11SAM.val = function (dd,iens,field,value,name) {
12 // Ignore dd and field; we derive it instead from name
13 // Later versions will dymanically fetch the value of the field to check
14 // from the name of the input element
15 // Value needs to be urlencoded.
16 var q = 'dd=' + dd + '&iens=' + iens + '&field=' + field + '&value=' + value + '&name=' + name;
17 EWD.ajax.getPage({page: 'valfield', targetId: 'testdiv', nvp: q})
18 };
19</script>
20<title>Edit Electronic Signature</title>
21</head>
22<body bgcolor="#C5E3E4" onload='SAM.x()'>
23<div style="text-align: center">
24<h1>Edit Electronic Signature</h1>
25<hr />
26<form name="form" method="post" action="ewd">
27<label for="esig">Electronic Signature</label>
28<input type="text" name="DD200F20_4" value="*" onchange="SAM.val(200,<?= #DUZ ?>,20.4,this.value,this.name)" />
29<input type="submit" name="save" value="Save" action="saveEsig^KBANDemo" nextpage="welcome.ewd" />
30</form>
31</div>
32<div id="testdiv" style="background-color: purple; color: white; ">
33Testing
34</div>
35</body>
36</html>
Note: See TracBrowser for help on using the repository browser.