Making the Contact Selector mandatory in an InfoPath form

By peter.stilgoe









OOTB you cannot make the contact selector in a InfoPath form a mandatory field. However you can easily get round this by doing something like this.

- In my datasource I tend to create a hive called ‘Validation’ (This is where I hold or my extra fields I use to carry out my various validation routines)

- Create a field in here called something like ‘EmployeeName’ or whatever your preference but something logical / descriptive

- Now set this fields default value to equal the field you are actually using for your contact selector ie. EmployeeName = DisplayName

- Now as EmployeeName = DisplayName set a validation rule on ContactValidate so that it cannot be blank

Now your contact selector is a mandatory field.

Share

,

About... peter.stilgoe

peter.stilgoeThis author published 482 posts in this site.
Sharepoint, InfoPath, K2, Nintex, Business Process Mapping, Business Intelligence, Automation, ECM, Document Management, Document Imaging, Internet Marketing & Online Business Consultant Email / MSN: pstilgoe@hotmail.com LinkedIn: Pete Stilgoe - Sharepoint Consultant









Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

No Comments

(Required)
(Required, will not be published)