Error-Summary XBL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error-Summary XBL

bsteuhl
I have latest nightly build and I do the following:

In the Model:
                         <xforms:instance id="errors" xmlns="">
                                <errors>
                                        <errors-count />
                                        <valid />
                                        <label />
                                </errors>
                        </xforms:instance>
Under the body:
                                <fr:error-summary observer="my-group" errors-count-ref="instance('errors')/errors-count" valid-ref="instance('errors')/valid" id="error-summary">
                                        <fr:label>Your Form Contains the Following Errors</fr:label>
                                </fr:error-summary>

And then wrap controls  with <xforms:group id="my-group"> </xforms:group>

In one form the error summary displays.  In another form with more controls it does not display???

Reply | Threaded
Open this post in threaded view
|

Re: Error-Summary XBL

bsteuhl
Figured it out - the control had an attribute id with a space in the name and that is what the error would not show in the summary.