Skip to Content
Former Member
Jun 22, 2008 at 12:08 PM

XML Form Builder - XSL



I am modifying the XSL of the application to validate the date field in the form builder. In the save button of the all the applications build through form builder, there are two javascripts ....

One is javascript:HrefSubmit under attribute href and another javascript javascript within the attribute onkeypress.

I have written the logic under HrefSubmit.

I am passing the dates of two fields viz., Expiry and Publish for the date validation purpose. But when i click the button for the first time, the dates are not passed.Only in the second click the dates are validated i.e., javascript is executed....How can i make it perform in the first click

Kindly advise

Thanks & Regards,