How to set the focus i.e.,cursor to a field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 02:05 AM
Hi all,
I have written an onchange where we an certain condition meet it need to show an alert and then cursor has to move to a certain field. I have used g_form.getControl('field_name').focus(); and also g_form.getControl('field_name').scrollIntoView() but both the things are not working i have make the isolate script as false as well true even then it doesnt work. Can anyone help me how to resolve these issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 12:48 AM
firehouse subs fries introduced crispy, golden French fries available in three sizes: Small (350 calories), Medium (520 calories), and Large (730 calories). These fries are perfectly seasoned and make a delicious side to complement any sub. Made from potatoes, vegetable oil, salt, cornstarch, dextrose, and natural flavoring, they contain wheat and soy allergens and are not gluten-free.