0

I need to compare the value in a text box to values in a separate drop-down list box. for instance if the value in the text is username and this value does not exist in the drop-down, then disable the another field.

The problem at the moment is that the comparison is only working for the first drop-down value.

1

Using this technique it works. I have tested it both with a drop-down using a sharepoint list or a drop-down using a sql connection.

Basically add a rule to the text box field. Make the condition textboxfield = username in SP list. When InfoPath does the check it actually checks each value in the repeating nodes and if any or more match it will return TRUE, if not, it matches FALSE.

http://www.infopathdev.com/forums/p/9172/32453.aspx

  • Please add details from the link to your post. If the link breaks your answer will be of no help to future readers as it is now – Robert Lindgren May 6 '14 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.