Check if a Field is Currently Invalid - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Check if a Field is Currently Invalid

Last post 11-29-2011 07:23 AM by pnewhook. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-13-2011 08:15 AM

    Check if a Field is Currently Invalid

    I want to check if a field has failed a validation rule. Is there a specific expression or xPath to check this?
  • 11-29-2011 07:01 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Check if a Field is Currently Invalid

     But what do you want to have happen after the check?

    The answer is yes - but in context. Some situations it will only be possible in code.
    But if (for e.g.) you are wanting some other field (field B) to change it's value based on whether another field (field A) is currently 'invalid' then you could set up rules on field B to set it's value with condition equivalent to the validation rules on field A.


  • 11-29-2011 07:23 AM In reply to

    Re: Check if a Field is Currently Invalid

    Thanks for the response, but I'm trying to avoid writing the same condition twice.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.