<script>
function submit() {
if (OZViewer.GetInformation("INPUT_CHECK_VALIDITY") == 'valid') { // '' if not valid
document.getElementById("inputdata").innerHTML =
OZViewer.GetInformation("INPUT_JSON_ALL"); // all input values in JSON
}
}
</script>
<div style="text-align: center;">
<input type="button" value=" SUBMIT " onclick="submit()" style="text-align:center">
<p id="inputdata"></p>
</div>
<body style="width:98%;height:98%">
<div id="OZViewer" style="width:98%;height:98%"></div>
<script type="text/javascript" >
var serverUrl = "http://" + location.host;
function SetOZParamters_OZViewer(){
var oz = document.getElementById("OZViewer");
oz.sendToActionScript("information.debug", "true"); // viewer console
oz.sendToActionScript("connection.servlet",serverUrl + "/oz/server");
oz.sendToActionScript("connection.reportname","/eform/getinformation.ozr");
return true;
}
start_ozjs("OZViewer", serverUrl + "/oz/HTML5viewer/");
</script>