Validation rule on a Field will not work for me. - InfoPath Dev
in

InfoPath Dev

Validation rule on a Field will not work for me.

Last post 10-04-2012 11:35 PM by Criller. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-03-2012 08:52 AM

    Validation rule on a Field will not work for me.

    Hello,

    Please help a frustrated new user to InfoPath 2010!

    I've created a form which has a header and three sections. There is a drop down field called "Action" in the header which when a certain value is selected the relevant section will be shown. In these sections I want to force a date field to be populated by setting a validation rule.

    I have set a simple validation rule on my date field as follows -

    Condition - Action = "Leaver"

    Rule Type: Validation

    Screen Tip : Enter Date

    When I preview my form from InfoPath or from SharePoint my date field continues to show a red dashed line around it and displays an error saying "This form contains validation errors" or "Infopath cannot submit the form because it contains errors" 

    I cannot see what I'm doing wrong as it's nothing too complex.

    Thanks in advance

     

  • 10-04-2012 03:27 PM In reply to

    Re: Validation rule on a Field will not work for me.

    Hi!

    So, your date field is showing a validation error even after you've entered a date? I think your validation would be... Action = "Leaver" and DateField is blank...

    Hilary Stoupa

  • 10-04-2012 11:35 PM In reply to

    Re: Validation rule on a Field will not work for me.

    Thanks Hilary,

    I did work it out in the end and that's the validation rule I ended up with.

    Thanks again, I can see this site being a real help as I go forward in using InfoPath.

     

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.