SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a drop down list in the infopath form and based on the selection(Only if aprticular value is selected ) in dropdown listbox need to make some of the controls as mandatory in the infopath form. This has to be done using rules. I am not planning to use any custom code in my form. How this can be achieved? Please Help !!

share|improve this question

closed as off topic by Anders Rask Jan 2 '13 at 20:22

Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I would like more info on why this is considered off-topic. InfoPath is used to integrate with SharePoint and is specifically mentioned in the FAQ. This is an InfoPath question - where else to ask these questions if not the SharePoint stackexchange? – David Clarke Feb 7 '13 at 3:45
up vote 3 down vote accepted

Click Manage Rules to open the Rules interface. Click the cell that needs a rule. Click the New button and select Validation. Click the condition hyperlink and set it to your dropdown field is blank. Add a message into the screentip section and you'll be all set.

share|improve this answer
I need to make some of the controls in the form as mandatory, if a purticular value is selectde in the dropdown listbox. How can this be done? – Anu Jan 2 '13 at 19:39
You'd simply add them as additional options within the rule. If dropdown field equals x or dropdown field equals y show the validation rule. – Eric Alexander Jan 2 '13 at 20:40
Yes.. Thanks for the info.. It worked.. – Anu Jan 3 '13 at 20:11

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