Jump to content

This topic is 2869 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field called "Employee Name" that presents the user with a drop down list showing a list of all employee names. I would like to force the user to select their name from the list only and not be able to manually type in their name. How can this be accomplished ?

Posted (edited)

You're leaving out a lot of detail.  For starters, on the data tab, check 'Auto-complete using value list'.  Or make it a pop up menu.  If it has to be a drop down, you could add a script trigger to prevent typing that will just re-pop the list:

If [Get(TriggerKeystroke)>0]

     Go to Previous Field

     Go to Next Field

     Exit Script [Result: False]

End If

Keep in mind you don't get to take advantage of typing your way thru the list to get a result.

Edited by Steve Martino
Posted

Many thanks Steve! I will give it a try. The script you provided sounds like the right approach for me.

Chris

This topic is 2869 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.