Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3495454
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:07:43+00:00 2026-05-18T12:07:43+00:00

Error summary control is reporting a wrong invalid field count. Attached is the source.

  • 0

Error summary control is reporting a wrong invalid field count. Attached is the source. Steps to reproduce.

  1. When you first access the page you will have two empty fields and the invalid count is 2.
  2. Add “Apple” to the first text box
  3. Tab into the second input control (do not enter anything).
  4. Click on delete button.

Nodeset has a single Orange node which has a valid value and yet error summary reports that it has one invalid field.

`

<xhtml:head>
    <xhtml:title>Repeat Groups</xhtml:title>
    <xforms:model>
        <xforms:instance id="instance">
            <fruits>
                <orange></orange>
                <orange></orange>
                <invalid>0</invalid>
            </fruits>
        </xforms:instance>
        <xforms:instance id="origin-instance">
            <orange></orange>
        </xforms:instance>
    <xforms:bind nodeset="orange" required="true()" />
    </xforms:model>
</xhtml:head>
<xhtml:body>

    <xhtml:h2>Errors</xhtml:h2>
    <fr:error-summary observer="accordionSection" errors-count-ref="invalid" />

    <xforms:group>
         <xforms:output value="invalid">
          <xforms:label>Invalid field count: </xforms:label>
         </xforms:output>
    </xforms:group>

    <xforms:group id="accordionSection">
        <xhtml:h2>With labels</xhtml:h2>
        <xforms:repeat nodeset="orange" id="fruit-repeat-1">
                <xforms:input ref=".">
                <xforms:alert>Fruit: </xforms:alert>
                <xforms:label>Fruit: </xforms:label>
        </xforms:input>
        <xhtml:br />
        </xforms:repeat>
    </xforms:group>

    <xhtml:br/>

    <xforms:trigger>
        <xforms:label>Add</xforms:label>
        <xforms:insert ev:event="DOMActivate" nodeset="orange" at="index('fruit-repeat-1')" origin="instance('origin-instance')"/>
    </xforms:trigger>
    <xforms:trigger>
        <xforms:label>Remove</xforms:label>
        <xforms:delete ev:event="DOMActivate" nodeset="orange" at="index('fruit-repeat-1')"/>
    </xforms:trigger>
</xhtml:body>

`

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:07:43+00:00Added an answer on May 18, 2026 at 12:07 pm

    Your example works fine with a nightly build, so this might be due to a bug that has been fixed since the version you are using. Could you try with a nightly build and let us know if this works for you?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple textbox with a required field validation control attached to end
Parser Error Message: The entry 'SiteSqlServer' has already been added. Source Error: Line 23:
is there any way to get the ASP.NET validation summary control to just display
I'm trying to figure out how the heck the validation summary control of ASP.NET
The .NET ValidationSummary control aggregates error messages from validators that are fired on postback.
I am suddenly experiencing an intermittent error using the Google Checkout ASP.NET control GCheckout.
Executive Summary: When assertion errors are thrown in the threads, the unit test doesn't
Error message: fatal: git checkout: updating paths is incompatible with switching branches/forcing How to
This error just started popping up all over our site. Permission denied to call
An error has occurred while establishing a connection to the server. When connecting to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.