use javascript in xojo submit form

hi i visit one page that have one form and have this code

<form method="post" action="" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">
..
..
</form>

i fill several fields using

htmPage.ExecuteJavaScript(“document.getElementById(’”+FieldName+"’).value=’"+Value+"’")

but when ai try to send submit any thing is made i use this options and not work

htmPage.ExecuteJavaScript(“WebForm_OnSubmit()”)
htmPage.ExecuteJavaScript(“Document.aspnetForm.submit()”)

do you have some one option ?

tnks

Our web framework is not designed to submit to other systems. If you want this capability, you’re probably better off using the WebSDK (in the Extras folder) to create a custom solution.