- Timestamp:
- Aug 14, 2011, 10:01:37 PM (13 years ago)
- Location:
- EWD/ewd-fm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
EWD/ewd-fm/modesig.ewd
r1202 r1215 10 10 }; 11 11 SAM.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. 12 16 var q = 'dd=' + dd + '&iens=' + iens + '&field=' + field + '&value=' + value + '&name=' + name; 13 17 EWD.ajax.getPage({page: 'valfield', targetId: 'testdiv', nvp: q}) … … 22 26 <form name="form" method="post" action="ewd"> 23 27 <label for="esig">Electronic Signature</label> 24 <input type="text" name=" F200I20_4" value="*" onchange="SAM.val(200,<?= #DUZ ?>,20.4,this.value,this.name)" />28 <input type="text" name="DD200F20_4" value="*" onchange="SAM.val(200,<?= #DUZ ?>,20.4,this.value,this.name)" /> 25 29 <input type="submit" name="save" value="Save" action="saveEsig^KBANDemo" nextpage="welcome.ewd" /> 26 30 </form> -
EWD/ewd-fm/valfield.ewd
r1202 r1215 8 8 else 9 9 { 10 document.getElementById("<?= #tmp.name ?>"). value= "<?= #tmp.result ?>"10 document.getElementById("<?= #tmp.name ?>").innerHTML = "<?= #tmp.result ?>" 11 11 } 12 12 </script>
Note:
See TracChangeset
for help on using the changeset viewer.