SQL insert running twice

Hi,

I have an HTML control form that inserts data to a SQL database on submission; however, it is inserting the data twice. There are no issues with my onValidate code as I just edited the available code to insert a record on another table to get it to work. Does anyone have any idea what the issue could be?

Wich event do you have your code for inserting?

Hi,

Thanks for the response. I have it in the onValidate event. Should it be in a different one?

I think that event must be work fine.

Anyway, Try with onValidateSuccess evet.