InfoPath ignores controls in rules and XPath randomly

Overview

I have several Check Box controls for several views. These flags are used to switch / hide different sections in the same view.

The corresponding rule is defined in the section with the condition chkbx1! = "True" and in the format set to Hide this control. It works great.

Also, at the bottom of the view, I have a text box with a default value using the XPath formula.

XPath is used to create a message based on checking specific cells. The example is below and it also works great.

substring("Box was checked.", 1, (../@chkbx1 = "True")*16) 

Problem

However, during the development of this series of views, I periodically come back and retest. During these tests, I noticed that, seemingly randomly, some of these mailboxes stop running their rules. They stop running XPath.

When I go to the list of fields for XPath, they are still displayed. But this, like IP, loses their tracks and simply ignores them.

This happened earlier during this project, and the only solution I found was to completely remove the check box and recreate it.

However, in addition to tiring, I am nervous because of ignorance of the cause and frequency.

Does anyone have any experience with this kind of weirdness?

I am using InfoPath 2010 with an Access 2010 database connection.

+5
source share
1 answer

You need to set default checkboxes and rules. Between them can be broken.

0
source

Source: https://habr.com/ru/post/1271911/


All Articles