# Mandatory Inputs

**URL:** <https://community.combeenation.com/t/mandatory-inputs/79>\
**Category:** General\
**Created:** [April 3, 2024, 12:29pm UTC](https://community.combeenation.com/t/mandatory-inputs/79 "2024-04-03T12:29:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Batuhan](https://dub1.discourse-cdn.com/flex013/user_avatar/community.combeenation.com/batuhan/32/29_2.png) [@Batuhan](https://community.combeenation.com/u/Batuhan)\
**Post date:** [April 3, 2024, 12:29pm UTC](https://community.combeenation.com/t/mandatory-inputs/79/1 "2024-04-03T12:29:23Z")

</div>

Hello,

It should be mandatory for the user to enter the inputs. In other words, the user should not proceed without entering any input. how do i fix this?

![image](https://europe1.discourse-cdn.com/flex013/uploads/combeenation/original/1X/c3da96c1bbb24ed0c5760f20eb8a1c2d8dc44d14.png)

---

<div class="post-metadata">

**Author:** ![LEI](https://avatars.discourse-cdn.com/v4/letter/l/7feea3/32.png) [@LEI](https://community.combeenation.com/u/LEI)\
**Post date:** [April 4, 2024, 5:46am UTC](https://community.combeenation.com/t/mandatory-inputs/79/2 "2024-04-04T05:46:07Z")

</div>

Good morning @Batuhan,

I don’t quite get your question as your textfields are already populated with the default value of the respective component (`myWidth` and `myHeight`).

Suggestion: you might also want to validate the user input in your components, especially if there are any min/max values for the width and height.  
Here’s an example where the width defaults to 114 and the min/max values are 100 and 200 respectively.  
`(Input or 114).atLeast(100).atMost(200)`

Does this answer your question?

David
