-
So - I guess I'm wondering why use a control for this at all? Just use a calculated value that shows the value of the field and then if it is blank, nothing shows. The user can't set it at all....
-
count(/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Attachments/attachmentURL) should do the trick.... If you look at your datasource in "advanced" view, you'll see attachmentURL is repeating.
-
Oh, is this a list form? Sorry, trying to understand your data source.
-
Is the attachment in a repeating group or repeating itself? If so, you can just use the count function...
-
Where is the rule running from? OnLoad? I would think if it were an OnLoad rule, and has a condition to only execute if ReadyForReview=TRUE (and Approver1 is the only person who will open & submit the form once ready for review is true) that this would work as anticipated. It looks like you might be setting it when Ready for Review changes tho ...
-
Oh wow, I'm still laughing over that reply (and I REALLY NEEDED to laugh today) so thanks! Glad it is working :)
-
You just have to use the same XPath but with your fields? Maybe: xdXDocument:GetDOM("random date")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Loan_x0020_number[not(. = xdXDocument:GetDOM("Randomizer")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LOans)]
-
-
So - the issue is that by default, with XPath, you are going to get back the first "non-match" every time. Is that going to be acceptable?
-
Both of the data sources have multiple rows? "random dates" and "Randomizer"? The XPath I gave you returns true if there are no matches between the lists, and false if there are matches. I'm sorry I'm having such a hard time understanding what you are trying to do here. Can you try to describe it a bit more? Like: One ...