Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Okay, I need to make the comments field in infopath form required only if they select "Reject" a Boolean field. How is it possible?

share|improve this question
    
I guess I can add rule to the comment field based on user selection. Like, this link designshare.wordpress.com/2011/01/11/… –  Maria Burton Feb 27 '12 at 15:09
    
I tried the link above and Nope it did not help. I keep getting infopath contains validation errors –  Maria Burton Feb 27 '12 at 15:29
    
Anyone else tried something like this? –  Maria Burton Feb 27 '12 at 18:44
add comment

3 Answers

  • First, make the Comments field mandatory.
  • Then, add a new Action to your form: When "Rejected" choosen, set the Comments field value: Comments Value = Comments Value + " ".
share|improve this answer
add comment

This is how I would do it,

Let's say I have a form like this, where the Approval Status drop down list takes (Pending, Approved, Rejected):

form

Then, I can apply a data validation like so,

validation

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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