FrankR
Posts: 154
|
Posted: 09/20/2006, 9:29 AM |
|
Am I the only one with Focus concerns?
I have to design forms with several sections.
- If a user is far down the form adding items to a list in a section/panel, after hitting submit, the focus is back to the top of the screen.
- If, while adding items to that list, the user keys something incorrectly and triggers an error, even though the red error message is in the section/panel way down the form, the focus still returns to the top of the form.
The code really needs to do some focus management, returning the focus back to the panel where the Submit was triggered.
My customers are going to be very upset about this, and I'm going to have to insert all of the focus code manually across all my forms.
_________________
FR |
|
|
mamboBROWN
Posts: 1713
|
Posted: 09/20/2006, 4:13 PM |
|
FrankR
Are you using the Set Focus (client side) that is provided for you in CCS ( http://docs.codecharge.com/studio3/html/Actions/Client/Set%20Focus.html )?? Your forms that have several sections are they (form sections) all on the same page?? Have you looked at the Multi-Step User Registration example in the example pack ( http://examples.codecharge.com/ ) to see if it performs in the manner that you are looking for??
|
|
|
Edd
Posts: 547
|
Posted: 09/20/2006, 4:34 PM |
|
FrankR,
If you do this you will regret it - this occurs on every web page on every site everywhere. IT IS STANDARD WEB FORMS BEHAVIOUR.
If you want to reduce the number of errors - then use client javascript and regular expressions.
I did this one for a pedantic data entry operator who used MS Windows and it is not worth. My strong suggestion is to put it in the enhancement / later on / fix it bucket - then forget it.
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
wkempees
Posts: 1679
|
Posted: 09/21/2006, 3:40 AM |
|
It would take some experimenting but a usable approach would be to put Anchors in your page.
Meaning
Put href anchors on multiple places in your long page at appropriate places.
You would then enable to 'jump' to certain places in you page.
Next you would have to construct a href pointing to the appropraite anchor and find a way to include that in your error message, changing the errormessage to a link in the process.
It would take some experimenting, I said.
Just an idea.
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
|
|
FrankR
Posts: 154
|
Posted: 09/21/2006, 5:25 AM |
|
Quote mamboBROWN:
No, not yet. First I was trying to understand why the Builder-emitted code wasn't doing any of this.
_________________
FR |
|
|
FrankR
Posts: 154
|
Posted: 09/21/2006, 5:44 AM |
|
Quote Edd:
FrankR,
If you do this you will regret it - this occurs on every web page on every site everywhere. IT IS STANDARD WEB FORMS BEHAVIOUR.
If you want to reduce the number of errors - then use client javascript and regular expressions.
I did this one for a pedantic data entry operator who used MS Windows and it is not worth. My strong suggestion is to put it in the enhancement / later on / fix it bucket - then forget it.
Edd
>this occurs on every web page on every site everywhere. IT IS STANDARD WEB FORMS >BEHAVIOUR.
I can't agree with that. Many web forms out there do focus management.
My customer set insists on it.
_________________
FR |
|
|
FrankR
Posts: 154
|
Posted: 09/21/2006, 5:47 AM |
|
Quote wkempees:
It would take some experimenting but a usable approach would be to put Anchors in your page.
Meaning
Put href anchors on multiple places in your long page at appropriate places.
You would then enable to 'jump' to certain places in you page.
Next you would have to construct a href pointing to the appropraite anchor and find a way to include that in your error message, changing the errormessage to a link in the process.
It would take some experimenting, I said.
Just an idea.
Walter
I do that now - pre-CCS. I was just expecting/hoping CCS Builders to handle it.
I don't know - maybe my forms are just longer than many other people's.
[But I doubt it.]
We often have forms that are longer than one screen worth. If the user has
scrolled down to the bottom, and, say, they're manipulating a list at the bottom, when
they press Submit/Save, they don't want to be taken to the top again. They're downright
angry about it.
_________________
FR |
|
|
WKempees
|
Posted: 09/21/2006, 6:39 AM |
|
Show me (PM) or us a link to get an idea.
I think some of us have a different idea of your problem.
As I understand it you would be happy of the error message would take you to
the field containing the error, that would be the JS way as Edd pointed out.
Maybe we can figure out a working combination for you and us, if we get an
idea of the problem at hand.
Walter
|
|
|
Benjamin Krajmalnik
|
Posted: 09/22/2006, 4:20 PM |
|
Why don't you make your pages either multi-step or place infomratio in xp
style tabpanes.
That way, your data will be logically divided and easily accessible.
|
|
|
|