duplicate entry in mysql database using FormModel and html form

@antoinehumbert Thank for helping me out of the solution i am using javascript to submit the form previously and i completely forget that , and thank for remember that. issues is solved by removing javascript.