FrankR
Posts: 154
|
Posted: 10/05/2006, 4:10 PM |
|
I don't know - it must be me. Some of this stuff was never this hard elsewhere.
I have Javascripted focus changes many times in my other .NET apps.
Nothing works for me here.
If you have the CCS Builder generate a Login screen and tell it to set focus to the login field,
it generates this Javascript:
if (theForm.Login1login) theForm.Login1login.focus();
Well, Login1login should be the name of an input field I find defined in the HTML, but it's not there. Instead, the HTML has a definition for the input field login_Name.
Can someone tell me how that is working, since that will tell me how I can code my own focus changes for these apps?
_________________
FR |
|
|
Wkempees
|
Posted: 10/06/2006, 12:10 AM |
|
Steps taken:
Open Help File
Search
"Focus"
Revealed:
In your form, DesignMode Properties, ClientSide events.
Add action "SetFocus", enter Formname, select Input from Dropdownlist.
That should do it.
It also has an example of JS code.
The thing is I already knew the action to be available and I know the
Login to be a 'special' case.
Walter
|
|
|
FrankR
Posts: 154
|
Posted: 10/06/2006, 3:42 AM |
|
Quote Wkempees:
Steps taken:
Open Help File
Search
"Focus"
Revealed:
In your form, DesignMode Properties, ClientSide events.
Add action "SetFocus", enter Formname, select Input from Dropdownlist.
That should do it.
It also has an example of JS code.
The thing is I already knew the action to be available and I know the
Login to be a 'special' case.
Walter
Walter - thanks - I'll look again, but yesterday, I looked for a SetFocus action on the client side, and I couldn't find any. [Had a miserable day yesterday, so I maybe I blew by it.]
I'll look again.
Looking at the javascript CCS created from the Builder for a standard login panel, I still have no idea how it is working nor where Login1login is coming from.
_________________
FR |
|
|
|