Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

How to 'set focus' on an input form

$
0
0
How to 'set focus' on an input form
Web Connection 5.0
How to 'set focus' on an input form
Dec. 9, 2012
03:48 am
3NW0868XLShow this entire thread in new window
Gratar Image based on email address
From:BrianW
To:All
Have an entry form - textboxes for name, Address etc and I want to clean up the input before the record is written by applying a Proper() command. As example for the Christian Name (txtChrName) box I apply 'Change="txtChrNameToProper" AutoPostBack="True" ' and have a Function

FUNCTION txtChrNameToProper()
this.txtChrName.text = PROPER(this.txtChrName.Text)
ENDFUNC

Great and works fine so that when the user tabs out of the chrname field it corrects any bad input BUT it then sets the focus somewhere and the user has to use the mouse tofocus on the next field for input!!!

Is there any way of setting the focus back to the next field to avoid this???


Viewing all articles
Browse latest Browse all 10393

Trending Articles