This is the webpage I am dealing with:
https://qrisk.org/three/index.php
Managed now to populate all the controls properly, but having problems submitting the form, so pressing the Calculate risk button. Tried many variations, but it seems this should do it:
But it doesn't, just sets all the controls to blank.
This is the html related to that button:
Any suggestions how this should be done?
RBS
https://qrisk.org/three/index.php
Managed now to populate all the controls properly, but having problems submitting the form, so pressing the Calculate risk button. Tried many variations, but it seems this should do it:
B4X:
Javascript = "document.forms.calculator.submit();"
WebViewExtras1.executeJavascript(WebView1, Javascript)
But it doesn't, just sets all the controls to blank.
This is the html related to that button:
B4X:
</fieldset>
</fieldset>
</fieldset>
<input type='submit' value='Calculate risk' name="calculate">
</form>
</TD>
<TD>
<h4>The QRISK<sup>®</sup>3 algorithm</h4>
Any suggestions how this should be done?
RBS