Changeset 1215 for EWD/ewd-fm


Ignore:
Timestamp:
Aug 14, 2011, 10:01:37 PM (13 years ago)
Author:
Sam Habiel
Message:

valfield puts destination text in innerhtml rather than value; modesig input name is now DDnnnFnnn rather than FnnnInnn; comments here and there.

Location:
EWD/ewd-fm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • EWD/ewd-fm/modesig.ewd

    r1202 r1215  
    1010    };
    1111SAM.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.
    1216         var q = 'dd=' + dd + '&iens=' + iens + '&field=' + field + '&value=' + value + '&name=' + name;
    1317    EWD.ajax.getPage({page: 'valfield', targetId: 'testdiv', nvp: q})
     
    2226<form name="form" method="post" action="ewd">
    2327<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)" />
    2529<input type="submit" name="save" value="Save" action="saveEsig^KBANDemo" nextpage="welcome.ewd" />
    2630</form>
  • EWD/ewd-fm/valfield.ewd

    r1202 r1215  
    88 else
    99 {
    10         document.getElementById("<?= #tmp.name ?>").value = "<?= #tmp.result ?>"
     10        document.getElementById("<?= #tmp.name ?>").innerHTML = "<?= #tmp.result ?>"
    1111 }
    1212</script>
Note: See TracChangeset for help on using the changeset viewer.