cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Mashup - Focus textbox on toggle selection

Vipul_Oswal
12-Amethyst

Mashup - Focus textbox on toggle selection

I want to focus on the textbox when we select (ON) the toggle widget

3 REPLIES 3

Hello @Vipul_Oswal 

 

As I can check previously it could be done by using jquery but now that option might not work and you have to create a custom widget to do so. i am sharing some of the community post with same query which might help you further

https://community.ptc.com/t5/ThingWorx-Developers/Force-focus-to-a-textbox/m-p/501394#M271%3Fsource=search

https://community.ptc.com/t5/ThingWorx-Developers/Set-focus-on-textbox/m-p/691861#M48341%3Fsource=search

 

thanks

when you are clicking toggle,

  • Do you want just focus/highlight the border of text box? Or
  • Do you want to make curser inside the text box ?

Cursor in the text box.

I have a toggle button. On Click of it, I want to show the text box and have focus inside the textbox. Check the video

Announcements


Top Tags