Hi Cecily,
One way you can do this is:
1. Set up a textbox question that your users can interact with ("CustomerID")
2. Set up a dropdown question attached to your data source, with the customer ID as the primary column (this can be a hidden question) ("SelectedCustomerID")
3. Set up another textbox question (again, hidden) ("Restricted")
Your data source for the dropdown would then be a list (sharepoint, etc) of customer IDs with an ID column and a "Restricted" column indicating whether that customer is restricted or not (presumably all would be Yes)
Create conditional logic:
When question "CustomerID" is answered
> Set "SelectedCustomerID" to the value of "CustomerID"
Set up the "SelectedCustomerID" question to "push" data into the "Restricted" text box, which is the value your "Restricted" column.
If a user enters a valid (restricted) customer ID in the first textbox, the dropdown will be set to that item, and then the Restricted status will be pushed to the third question, where you can perform actions based on that value - within the form, or as a data destination value, etc.
If users enter an ID that isn't in your data source, the dropdown is set to blank and nothing happens.

------------------------------
Calvin Hunter
Project Manager
Vipond Inc
MB
------------------------------