[richfaces-issues] [JBoss JIRA] Commented: (RF-8261) Add support to automatically scroll to the first field containing an error after user submits a form and validation fails?
Bernard Labno (JIRA)
jira-events at lists.jboss.org
Tue Jul 19 11:53:23 EDT 2011
[ https://issues.jboss.org/browse/RF-8261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615087#comment-12615087 ]
Bernard Labno commented on RF-8261:
-----------------------------------
This is implemented by focus component from sandbox. http://community.jboss.org/wiki/40SandboxComponents
> Add support to automatically scroll to the first field containing an error after user submits a form and validation fails?
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-8261
> URL: https://issues.jboss.org/browse/RF-8261
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 3.3.2.SR1
> Environment: Richfaces (3.3.2.SR1), Spring webflow (2.0.8), Hibernate Validator (4.0.2), ...........
> Reporter: Francois Duquette
> Labels: form, form_error, form_validation, jsf_validation, scroll, scrolling, validation, vertical_scrolling
> Fix For: 3.Future
>
>
> Hello, here's the context, I have a form which has enough fields to produce vertical scrolling. I'm using Hibernate Validator (4.0.x) to validate my form fields through rich:ajaxValidator. So, has the title says, I would like the page to scroll up 'automatically' to the first validation error of the form, after the user tries to submit the form with the save button (a4j:commandButton), and the form contains one or more errors (coming from JSF Validation phase...).
> So, big picture of feature request: On form-submit, if errors, automatic scroll to first form error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list