Hi I had the same issue, but it seems it doesnt work on a tab or section
search the mailinglist for 'Is there a simple way to check if all
components in an <fr:section> are relevant'
the solution however is simple put an xforms:group inside your tab or
section and put an fr:error-summary on the group
see the attached source for an example
section1
--> Field1 is mandatory
--> Field2 can not be 'a'
Section2
--> Field3 is mandatory
--> Field4 no constraints
Regards Ramon
On 04/27/2011 02:44 PM, inanda.menezes wrote:
> Hi all,
>
> I would like to get the number of errors of one section or tab. So, I would
> be able to know if the user has filled it correctly and change the color of
> the label to red or green.
>
> I know that as I am using form builder, it is possible to get the number of
> errors of the whole form using the following:
> <xforms:output model="fr-error-summary-model" value="errors-count"/>
>
> But I need it for only one tab or section. Does anybody have an idea?
>
> --
> View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Check-number-of-errors-by-section-or-tab-id-tp3478009p3478009.html> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws