[1201] | 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">
|
---|
| 6 | SAM = {}; //My global storage object
|
---|
| 7 | SAM.x = function () {
|
---|
| 8 | // ewd:esigjs^KBANDemo('SAM[20.4]');
|
---|
| 9 | // document.forms[0].F200I20_4.value = SAM['20.4']();
|
---|
| 10 | };
|
---|
| 11 | SAM.val = function (dd,iens,field,value,name) {
|
---|
[1215] | 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.
|
---|
[1201] | 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>
|
---|
[1215] | 28 | <input type="text" name="DD200F20_4" value="*" onchange="SAM.val(200,<?= #DUZ ?>,20.4,this.value,this.name)" />
|
---|
[1201] | 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; ">
|
---|
| 33 | Testing
|
---|
| 34 | </div>
|
---|
| 35 | </body>
|
---|
| 36 | </html>
|
---|