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 8722493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:26:00+00:00 2026-06-13T07:26:00+00:00

As my asking title above, somebody can help me to checking a number of

  • 0

As my asking title above, somebody can help me to checking a number of count already clone for fieldset in ExtJS? This is used for validation on my form. (I used ExtJS 3.0)

This is a pieces of code configuration for Fieldset ExtJS:

nameSpace: 'person',
xtype: 'fieldset',
title: 'Person',
autoHeight: true,
collapsible: true,
maxOccurs: 5,
dynamic: true,

This is a logic algorithm for my validation (if maxOccurs configuration is set to 5) :

field = fieldset.count;
if (field < maxOccurs) then
   alert("fieldset must be already five to be added!")
end if;

Now it’s solved! thank you MMT for your suggestion! thank you stackoverflow!

I use a panel in outside of this fieldset, for now I resolved my problem with this code:

var personPanel = Ext.getCmp('PersonPanel');
var personLength = personPanel.extract('person','fieldset');

if(personLength.length < 5) {
   alert("fieldset must be already five to be added!");
}
  • 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-06-13T07:26:02+00:00Added an answer on June 13, 2026 at 7:26 am

    Now it’s solved!

    I use a panel in outside of this fieldset, for now I resolved my problem with this code:

    var personPanel = Ext.getCmp('PersonPanel'); //with id "PersonPanel" on a Ext.form.Panel attribute
    var personLength = personPanel.extract('person','fieldset'); //"person" is namespace of fieldset
    
    if(personLength.length < 5) {
       alert("fieldset must be already five to be added!");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Asking for your help on this Oracle query. It's giving me the error 2
Sorry for the title but I don't know other way of asking. EDITED FOR
[community edit: original title was python conditionals, OP is asking what is wrong with
It's a bit hard to explain in a concise title what I'm asking, so
I'm very sure a variation of this has been asked before, and my asking
Firstly, apologies for the vague title, but I'm not sure exactly what I'm asking
I apologize for the terrible title...it can be hard to try to summarize an
That's an odd title. I would greatly appreciate it if somebody could clarify what
I've kind of asked this question earlier so sorry for asking a bit similar
I know, the title sucks... not sure how to explain what I'm asking, so

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.