You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2007/10/08 21:56:37 UTC
[jira] Created: (STR-3104) when errors are present, move the form
focus to an error field
when errors are present, move the form focus to an error field
--------------------------------------------------------------
Key: STR-3104
URL: https://issues.apache.org/struts/browse/STR-3104
Project: Struts 1
Issue Type: New Feature
Components: Taglibs
Affects Versions: 1.3.8
Environment: any
Reporter: Ralf Hauser
Priority: Minor
if there is an error, it does not make sense to put a form's focus on an input field that is perfectly valid if others are in "error".
Therefore, the form-tag's focus attribute should be made dependent on the other fields of the form being error-free.
Related is probably STR-1305
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STR-3104) when errors are present, move the form
focus to an error field
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated STR-3104:
-------------------------------
Fix Version/s: Pending Review
> when errors are present, move the form focus to an error field
> --------------------------------------------------------------
>
> Key: STR-3104
> URL: https://issues.apache.org/struts/browse/STR-3104
> Project: Struts 1
> Issue Type: New Feature
> Components: Taglibs
> Affects Versions: 1.3.8
> Environment: any
> Reporter: Ralf Hauser
> Priority: Minor
> Fix For: Pending Review
>
>
> if there is an error, it does not make sense to put a form's focus on an input field that is perfectly valid if others are in "error".
> Therefore, the form-tag's focus attribute should be made dependent on the other fields of the form being error-free.
> Related is probably STR-1305
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STR-3104) when errors are present, move the form
focus to an error field
Posted by "Ralf Hauser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42384 ]
Ralf Hauser commented on STR-3104:
----------------------------------
I don't use javascript validation, I only use the javascript that is generated by the focus attribute of http://struts.apache.org/1.3.9/struts-taglib/tagreference.html#form.
This is kind of hard-coded. The intent of this RFE is to make this aware of the err* attributes the html tags inside the form may have and if another than the hard-coded, i.e. default suggested focus field is in error move the focus to there and deviate from the hard-coded suggestion..
> when errors are present, move the form focus to an error field
> --------------------------------------------------------------
>
> Key: STR-3104
> URL: https://issues.apache.org/struts/browse/STR-3104
> Project: Struts 1
> Issue Type: New Feature
> Components: Taglibs
> Affects Versions: 1.3.8
> Environment: any
> Reporter: Ralf Hauser
> Priority: Minor
>
> if there is an error, it does not make sense to put a form's focus on an input field that is perfectly valid if others are in "error".
> Therefore, the form-tag's focus attribute should be made dependent on the other fields of the form being error-free.
> Related is probably STR-1305
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STR-3104) when errors are present, move the form
focus to an error field
Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/STR-3104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42383 ]
Paul Benedict commented on STR-3104:
------------------------------------
I believe the erring fields receives focus only with javascript validation. Can you confirm?
> when errors are present, move the form focus to an error field
> --------------------------------------------------------------
>
> Key: STR-3104
> URL: https://issues.apache.org/struts/browse/STR-3104
> Project: Struts 1
> Issue Type: New Feature
> Components: Taglibs
> Affects Versions: 1.3.8
> Environment: any
> Reporter: Ralf Hauser
> Priority: Minor
>
> if there is an error, it does not make sense to put a form's focus on an input field that is perfectly valid if others are in "error".
> Therefore, the form-tag's focus attribute should be made dependent on the other fields of the form being error-free.
> Related is probably STR-1305
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.