Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2005

Tip: Looking for answers? Try searching our database.

Validation not working in Repeating section

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick - 18 Mar 2005 17:43 GMT
I have a repeating section where one of the fields has a validation on it
that is an expression like this:

count(my:*[my:Type="A"]/my:RepeatingField) > 20

the validation works, however if you enter in 2 sections, and put 15 in the
first, then put 10 in the second, only the second shows an error.  Then if I
change the first to 2 (now less than 20), nothing happens.  then if I go into
the second and just retype 15, then the error goes away (as it should have
before).  Is this a bug in infopath?  Any suggested workarounds?  How can I
force a rule / validation to be checked?
Andrew Watt [MVP - InfoPath] - 24 Mar 2005 20:00 GMT
>I have a repeating section where one of the fields has a validation on it
>that is an expression like this:
[quoted text clipped - 7 lines]
>before).  Is this a bug in infopath?  Any suggested workarounds?  How can I
>force a rule / validation to be checked?

Nick,

Can you try another way of explaining precisely what it is that you
are trying to do?

I find that it isn't obvious to me.

Andrew Watt
MVP - InfoPath
Nick - 24 Mar 2005 20:29 GMT
I think i meant to say the expression is:
sum(my:*[my:Type="A"]/my:RepeatingField) > 20

Bascially, a specific control in the repeating section must not add up to be
more than 20.  When this happens, the validation only fires on the control
that changed.  The other controls do not update the validation wether its
positive or negative.

> >I have a repeating section where one of the fields has a validation on it
> >that is an expression like this:
[quoted text clipped - 17 lines]
> Andrew Watt
> MVP - InfoPath
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.