Limiting the Number of Repeating Sections

C

Craigs714

I need to limit the new of repeating section on my form. I have changed the
unbounded parameter on the maxoccurs attribute to 5 which is my limit.
InfoPath returns the message: InfoPath cannot insert a section or row
because of an error. This is not the type of error that you want to report
to a user. I read somewhere that you cannot change this message. Is there
another way to trap this scenario? I have tried working with the count
function and conditional formatting but it just doesn't work quite right.

Does anyone have a suggestion.

Thanks in advance.

Craig
 
Top