To set the value of a field in the DE85 form from inside a WebObject.
DataEase will move more and more towards Web/HTML and this is part of the bridging API between the internal WebObject and the DE85 Windows Form.
ObjectName: String
This is the Object Name of the editfield you want to populate in the form with the value from the HTML Input control.
ID: String
The ID of the HTML input control you want to read the value out of to put into
Example 1
<style>
body {color:white;}
</style>
<h1>DataEase Web Hosted Form Test</h1>
<p>This is a test on TWO-Way communication between WebObject and PRISM</p>
<p>This form is hosted on a remote server, but commuicate with the local PRISM.....</p>
<p id="message">Your message</p>
<input id="CustomerName" placeholder="Customer Name" value="" style="width:30%">
<input id="CustomerAddress" placeholder="Customer Address" value="" style="width:30%">
<br>
<a onclick='jsSetValue("CustomerName","CustomerName");jsSetValue("CustomerAddress","CustomerAddress");jsDerivation("RecordSave()");'>Save Changes!</a>
<script>
var tester = document.getElementById("CustomerName").value=jsDerivation("CustomerName");
var tester = document.getElementById("CustomerAddress").value=jsDerivation("GetValue(\"CustomerAddress\")");
</script>
<p style="margin-top:100px;padding:10px;border:solid 1px">This is "impossible".....but works!</p>
jsDerivation()
ExecDerivation()
ExecDQL()
MemoExecDQL()
LabelExecDQ()
Product: Dataease [{8}]FIVE. Written by grohmann.papier@t-online.de 25/03/16 at 15:02:06
Product: Dataease [{8}]FIVE. Written by DataEase 28/03/16 at 13:35:06