Hi
I want when form loads cursor should be at first column.
Thanks
Hi
I want when form loads cursor should be at first column.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Sep 6, 2024, 4:24 AM
Try this once.
Vishal JoshiPosted Sep 5, 2024, 1:27 PM
Add TabIndex="1" in
Ramco RamcoPosted Sep 5, 2024, 11:29 AM
Hi Vishal
What should i change in my code
Thanks
Vishal JoshiPosted Sep 5, 2024, 11:21 AM
Hello Ramco,
You can use the TabIndex to set focus on the first column.
Try the below code to.
Thanks
Vishal Joshi
Ramco RamcoPosted Sep 5, 2024, 9:13 AM
Hi
I have below code but it is not working
Thanks
Naimish MakwanaPosted Sep 4, 2024, 1:14 PM
To set the cursor to the first column when a form loads, you can use JavaScript. Here’s a simple example:
In this example, the window.onload event ensures that the cursor is set to the input field with the ID firstColumn when the form loads. You can adjust the ID to match the specific field you want to focus on.
Thanks