fapurcino
Newbie
Posts: 1
Registered: 11/11/2005
Member Is Offline
|
| posted on 11/11/2005 at 01:50 PM |
|
|
Form submitting by Javascript
Dear developers,
I have a problem using Tigra Form Validator.
I have a form that is submitted by a javascript event as follows:
<script language="javascript">
function ChangeStatus()
{
window.parent.frmCustomer.form1.submit();
}
</script>
It submits the form correctly but doesn't call Tigra Form Validation. If i put a submit button, the Tigra Form Validator works.
Thank you in advance.
BR,
Fabio Purcino
|
|
|
elforesto
Junior Member
Posts: 2
Registered: 11/6/2006
Member Is Offline
|
| posted on 11/6/2006 at 03:21 PM |
|
|
I have the same issue and was hoping to find a workaround. A year without an answer, however, doesn't look promising.
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 11/6/2006 at 10:36 PM |
|
|
well just call it before submitting the form:
<script language="javascript">
function ChangeStatus() {
if (v.exec())
window.parent.frmCustomer.form1.submit();
}
</script>
|
|
|