3 Replies Latest reply on Nov 30, 2011 11:49 AM by philmodjunk

    script that will cancel record editing and abandon any changes and exit application on the web

    Tricia

      Title

      script that will cancel record editing and abandon any changes and exit application on the web

      Post

      I have this database that I am putting on the web using version FMP11.
      I have almost every field with a validation that it can not be empty.
      I have a button at the bottom of the field that says, "Changed my mind, I just want to exit"
      I want them to be able to perform the same function that the cancel button does in the status bar, but I have the status bar hidden. So I need a button with a script that does this:

      • stop fillling out the form
      • clear the form
      • exit and log off the database

      But when I click on it it says that I have to fill out the form (because of my validations)

       How do I write a script that cancels record editing and abandons any changes and exits the application back to the home screen, bypassing any validation fields?