3 Replies Latest reply on Dec 1, 2016 8:02 AM by Jitu Raj Bora

    Validate user prompts (parameters)

    Jitu Raj Bora

      Hello - I have 2 parameters that the user is going to enter -

       

      1. Percent Increase

      2. Amount Increase

       

      Here are my requirements -

       

      1. These 2 parameters need to be mutually exclusive - if one is non-zero, the other has to be zero.

      2. One of them has to be non-zero - both cannot be zero at the same time.

       

      If any of these 2 conditions happen, I want to display an error message.

       

      Is this possible?

       

      Thanks,

      Jitu