In browser based infopath form I ve used a Contact Selector Control.Now I wanted to make this control as mandatory.
As you know Contact Selector does not ve data validation property,the other way around I wrote a VSTA code saying,
if the control(contact selector) is selected, put contact selector's value to one more textbox(like Referrence Variable) and made the textbox validated.
The problem here is that,this code is not executed when the Infopath form is rendered in Browser,but working fine for Infopath Client.
So is there a way to make Contact Selector Control mandatory for selection, before submitting the form.