4 Replies Latest reply on Jun 27, 2017 7:25 AM by diane.ngf

    Stop app.alert pop-up on Reset Form

    diane.ngf Level 1

      I am using the following code to check that the percentage total does not exceed or is under 100%.  When I reset the form I get the pop-up 8 times, one for each calculation.  What do I need to add to stop the app.alert when the form resets and all values are now zero (under 100%)?

       

      if (event.value>100) app.alert("The total cannot exceed 100%.");

      if (event.value<100) app.alert("The total must equal 100%. Please continue entering.");

       

      Thank you for your help!

       

      DP