# DateChooser Component - how set range

**URL:** <https://forum.kirupa.com/t/datechooser-component-how-set-range/175529>\
**Category:** flash\
**Created:** [January 15, 2006, 3:06pm UTC](https://forum.kirupa.com/t/datechooser-component-how-set-range/175529 "2006-01-15T15:06:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankratochvil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jankratochvil/32/566_2.png) [@jankratochvil](https://forum.kirupa.com/u/jankratochvil)\
**Post date:** [January 15, 2006, 3:06pm UTC](https://forum.kirupa.com/t/datechooser-component-how-set-range/175529/1 "2006-01-15T15:06:05Z")

</div>

I use first time DateChooser component and I would like to have possibility to set range of the date.

Example:

I use on the stage two DateChoose components.

1. for Arival
2. for Departure

How can I prevent to choose older depature date in comparison with arival date and backward?

Thanks
