I need to implement a form in my organization.
Employees fill the form and send it to their superiors for approval
The employees of my organization fill the form,select the name of their superior in a dropdown(names loaded to the dropdown from Active Directory Services) and click the submit button.All the forms filled are submitted to a common form library in a SharePoint site irrespective of the superior selected in the drop down.
Now the superior enters his username and password in SharePoint and enters the form library.On entering the form library,he should be able to see only those forms that are submitted to him and not all forms.
So I need to compare the value selected by the employees in the dropdown to the userid as entered by the superior when he enters the SharePoint site.If they match then only those forms will be displayed.
So I want to know how do I access a value saved in a Infopath form from SharePoint?
Also if u have any other way to implement this,please let me know.