Filtering Dialog List

Tags:
Lotus Domino
Hi. I have a question on how I can filter the values listed in a dialog list field based on the characters being inputed by the user. i have set the field as editable and to accept values not on the list. So when a user enters some characters and then tries to view the list, the values listed should show only those which matches the values already entered (whether the value begins or contains the input value). Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

That’s a fascinating idea. I can’t thing of any way to do this using any standard Notes functionality. The only way I can think of to accomplish this would be to use LotusScript.
– create a subform that you would call with dialogbox,
– grab the characters entered by the user
– get the list as an array
– loop through each element of the array
– check to see if the characters entered match characters in that element. Put the element in a display list if they match.
– display the final list to the user in a dialogbox field with the same name as the one on the form.

You could do this with one of the R6 @Formula looping functions as well.

Good luck! Let me know what you do.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Stiletto
    I can't think of a way to do this in one field. But, if you put have the user enter the filter text in one field, you can have the choices for the dialog box based on a formula that uses something like @Matches.
    3,860 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following