hi guys,

i have a problem on one of my forms.

if the user starts entering some fields and then decides not to click on the add button, and rather clicks cancel, which takes them back to the main menu, a record gets added.

what should i do?
how can i prevent this from happening?