Validation rule - can I make a rule where a field cannot be blank if another field is not null - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) 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 InfoPath Dev » InfoPath » General » Validation rule - can I make a rule where a field cannot be blank if another field is not null Validation rule - can I make a rule where a field cannot be blank if another field is not null Last post 03-07-2013 09:53 AM by Hilary Stoupa. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 03-04-2013 06:58 AM karson6 Joined on 11-14-2011 Posts 43 Validation rule - can I make a rule where a field cannot be blank if another field is not null Reply Contact Is there a way to make a rule to conditionally require a field? I see the Cannot be blank check box validation under the text box properties but I need to have a rule where Field 1 is required if Field Two has a value. Can I do this somehow? 03-07-2013 09:53 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Validation rule - can I make a rule where a field cannot be blank if another field is not null Mark as Not AnswerMark as Answer... Reply Contact Yes - instead of using cannot be blank, add a validation rule. Your rule would have two conditions - field2 is not blank and field1 is blank. You can show whatever message you'd like for the validation error. Hilary Stoupa Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Is there a way to make a rule to conditionally require a field? I see the Cannot be blank check box validation under the text box properties but I need to have a rule where Field 1 is required if Field Two has a value. Can I do this somehow?
Yes - instead of using cannot be blank, add a validation rule. Your rule would have two conditions - field2 is not blank and field1 is blank. You can show whatever message you'd like for the validation error.