Problem with Validation on Submit Rules

コメント

5件のコメント

  • Avatar
    Meenakshi Nadimuthu

    Hi David,

    You can configure something like this: 

  • Avatar
    David Hill

    Hi Meenakshi,

    I'm not sure that works. I get the errors Fail 2 and Fail 4 when I use this data with these rules. In this case, I shouldn't get any errors.

  • Avatar
    Scott Bennett

    My guess is that the From and To amounts are strings...

    and you're comparing numerics???

  • Avatar
    Parker Kurtz



    Hi David,

    I was exploring your issue, and I may have found the solution. You need to create a large set 0-100k (or whatever your bounds are), and sub divide like so. You never set a lower bound on Salary/Hourly so I just used 10k and 0.

    Edit-Tried to give larger picture. Open in another tab if it's still too small.

  • Avatar
    David Hill

    Thanks for your feedback Scott and Parker. I looked at (and tried) both your suggestions but still no joy.

    In the end, I got what I needed by changing the Form Events I was using. I put all my form-level validation in the Before Submit event. There are quite a few rules in there now, all showing a message when they fail a rule. However, because that doesn't cancel the Submit operation, whenever an error is triggered in the Before Submit, I also set a variable (Form Validated) to No. Then in the Validation on Submit Event, I just have one rule - When Form Validated = Yes, Condition Failure Message = Form cannot be submitted - please correct the errors. This then cancels the Submit operation.

    So, maybe not as AgilePoint had envisaged it, but it works, and the validation rules are much easier for me to setup.

ログインしてコメントを残してください。