I have a simple webform which have few text fields,leabels and Submit button. When I click on Submit button then button1 event is fired and data is Submitted.
But what worries me is , when I refresh the page after submitting data immediately and then I get the following errror:
And when I see the database to check the entry there there exist a duplicate entry.
I don't understand why the button click even is being fired even when I hit refresh and there is no way I clicked on Button1.
And how do I avoid this from happening.