# Mandatory fields

**URL:** <https://forum.litium.com/t/mandatory-fields/895>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [May 29, 2019, 2:18pm UTC](https://forum.litium.com/t/mandatory-fields/895 "2019-05-29T14:18:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [May 31, 2019, 7:24am UTC](https://forum.litium.com/t/mandatory-fields/895/2 "2019-05-31T07:24:59Z")

</div>

There are no mandatory fields in V7 but you can use validation rules, check this answer:

> [@Field validation](https://forum.litium.com/t/field-validation/866/2):
>
> You can add validation so that when the entity is saved, it will check that the field contains a valid URL and display an error if that’s not the case. [https://docs.litium.com/documentation/architecture/validation](https://docs.litium.com/documentation/architecture/validation) An example can be found in this task from our developer education: [https://github.com/LitiumAB/Education/tree/master/Developer%20Education/Bookstore/Validation](https://github.com/LitiumAB/Education/tree/master/Developer%20Education/Bookstore/Validation) My guess is that this will be in the CMS, so the entity would either be DraftPage or DraftBlock if you want the error to be…

---

_[View the full topic](https://forum.litium.com/t/mandatory-fields/895)._
