Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 2 of 5 (43 items) < Previous 1 2 3 4 5 Next > Re: Rule to count the number of field that correspond to a specific value Found it!! count(//my:reviewRequired[. = 1]) Thanks so much! I've lost so much time trying to figure this one out. Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Re: Rule to count the number of field that correspond to a specific value Thanks so much for helping. First, I had to set the reviewers group as Repetitive even though none of them are. It then allowed me to select "Number of". HOWEVER, I just noticed that all my People Pickers are now unbound and cannot be bound properly, Yikes! count(../../my:reviewers) = "" I tried ... Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Re: Rule to count the number of field that correspond to a specific value A simpler example of what I'm trying to accomplish is to Hide the Submit button, if not all the reviewers have been defined. In English, I'd say: For all the Required reviewers, do we have any blank AccoundIDs under reviewers? OR Do we have the same number of non-blank reviewers as there are required reviewers? Seems simple enough ... Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Re: Rule to count the number of field that correspond to a specific value Hmm, I'm currently using a Calculated Value control to ensure I can get the correct syntax first, then will move it to when I need it. The intent is to hide/show another field (capture date field external to the above structure) based on some calculation within the reviewers mode-set. I tried adding an Action rule to the ... Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Re: Rule to count the number of field that correspond to a specific value When I do either, it won't save the rule as it tells me: "my:reviewers/my:reviewRequired" does not point to a valid location path of a field or group. XPath is: count(my:reviewers[my:reviewRequired = "1"]) I don't know if this is important but reviewRequired is set as Boolean. Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Rule to count the number of field that correspond to a specific value Hi, I have the below structure and want to count the number of reviewRequired fields that have a value of 1. count(my:reviewers[//my:reviewRequired = "1"]) In total, there are nodes with a value of 1 but it keeps telling me that there's only 1. <my:reviewers> ... Posted to Code (Forum) by Josee Sevigny on 12-22-2016 Predefined participants Hi, I'm struggling with a Filler form where I seem to fail at defining the appropriate structure/rules to support the requirements. My participants are as follows and they must all be unique: a) Requester b) 5 mandatory reviewers c) 2 reviewers that are required only if a "Risk assessment " dropdown is less than certain value: ... Posted to General (Forum) by Josee Sevigny on 12-21-2016 Re: Rule Inspector showing nothing- is blank Nevermind, I think I can't see the forest for the trees today ;-) They were all Formatting rules. It's really too bad the Rules Inspector can't list those as well. Posted to General (Forum) by Josee Sevigny on 12-16-2016 Re: Rule Inspector showing nothing- is blank Hi everyone, I'm not sure this issue relates to this one but I'll describe it and you can let me know if I should open a separate thread or not. I added the about:internet in my Trusted Sites and I can now see the rules in the Rules Inspector. However, I noticed that it's missing a lot of rules. To give a ... Posted to General (Forum) by Josee Sevigny on 12-16-2016 Re: Rule Inspector showing nothing- is blank Hi, After uninstalling any InfoPath and Office updates that had been installed on or after October 12th (date around which I started seeing the problem) without success, I ended uninstalling any Windows Security update that had been installed on or after that date as well. So I'm thinking the KB numbers may diff between ... Posted to General (Forum) by Josee Sevigny on 11-07-2016 Page 2 of 5 (43 items) < Previous 1 2 3 4 5 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.