# ValidationRule only warning

**URL:** <https://discourse.aurelia.io/t/validationrule-only-warning/3487>\
**Category:** Help Requests\
**Created:** [May 14, 2020, 8:51am UTC](https://discourse.aurelia.io/t/validationrule-only-warning/3487 "2020-05-14T08:51:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![developyoda](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@developyoda](https://discourse.aurelia.io/u/developyoda)\
**Post date:** [May 14, 2020, 8:51am UTC](https://discourse.aurelia.io/t/validationrule-only-warning/3487/1 "2020-05-14T08:51:53Z")

</div>

Hey all,

is it possible to only return a warning, when a rule is broken, instead of that the rule needs to be fit to proceed ?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Sayan751](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/sayan751/32/1861_2.png) [@Sayan751](https://discourse.aurelia.io/u/Sayan751)\
**Post date:** [May 14, 2020, 9:02am UTC](https://discourse.aurelia.io/t/validationrule-only-warning/3487/2 "2020-05-14T09:02:53Z")

</div>

I understand that you want to proceed with validation error, by treating that as “warning” instead of an “error”. If this is correct, then it purely depends on your business requirement. The `validationController.validate()` returns a result that contains a `valid: boolean` property, which is set to `true` if the result is valid, `false` otherwise. As per your business requirement, you may choose to proceed even if that is `false` (not valid). Although in that case, you might want not to show the corresponding error on the UI. Note that the validation-plugin does not prevent you submitting a form unless you explicitly choose to do so (often that is recommended).

---

<div class="post-metadata">

**Author:** ![developyoda](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@developyoda](https://discourse.aurelia.io/u/developyoda)\
**Post date:** [May 14, 2020, 10:02am UTC](https://discourse.aurelia.io/t/validationrule-only-warning/3487/3 "2020-05-14T10:02:38Z")

</div>

Thanks! I have solved my problem now
