Hi,
In a mobile screen design context, on a numeric input zone, i want to select the value inside when focus to allow user hit a new value without edit this last.
Do you have any solution ?
Thanks
select value on focus
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: select value on focus
If you want all fields on all screens to be selected when you focus them, you can enable the "highlight on focus" feature explained here:
https://docs.profoundlogic.com/display/ ... t+on+Focus
If you only want one field, or certain fields, to be selected when you put focus on them put the following code in the 'onfocus' event:
https://docs.profoundlogic.com/display/ ... t+on+Focus
If you only want one field, or certain fields, to be selected when you put focus on them put the following code in the 'onfocus' event:
Code: Select all
this.select();
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Re: select value on focus
Hello,
Thank you for answer.
i tried this. i hoped another solution because weird thing event came with it.
Thank you for answer.
i tried this. i hoped another solution because weird thing event came with it.
Who is online
Users browsing this forum: No registered users and 1 guest