# InputField select text on click

**URL:** <https://forum.kirupa.com/t/inputfield-select-text-on-click/277149>\
**Category:** flash\
**Created:** [December 8, 2008, 4:59pm UTC](https://forum.kirupa.com/t/inputfield-select-text-on-click/277149 "2008-12-08T16:59:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhikumar](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Post date:** [December 8, 2008, 4:59pm UTC](https://forum.kirupa.com/t/inputfield-select-text-on-click/277149/1 "2008-12-08T16:59:15Z")

</div>

I have an inputfield which is prefilled with a numbers - in order to change the number currently i have to click inside the field, highlight the number and then replace it with the new one… i want when i click inside the input field- current number gets selected and i then change it- is there anyway i can do that??

please help !!!
