Solved

Domino/Lotus Notes form, showing list of values based on a condition

Posted on 2016-11-17
3
46 Views
Last Modified: 2016-11-28
I am working on a form in which a field is a dialog list, and uses a view to provide the list of choices.  However, I would like the list to show a different group of values based an answer in another field.
Example, if the person is a Male, show only a list of boy's names.  If a person is Female, show only a list of girl's names.  Is there a way to create a view which contains all of the names, with some sort of Male/Female identifier and then my form displays the appropriate group of values (based on Male/Female selection)?

I hope that makes sense.  I'm looking for some sort of conditional list of values as choices.
0
Comment
Question by:lwillford
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 41892346
Can be done. Your first field should be a selection field, with the option Refresh fields selected. You have to create a categorized view, of which the first column can serve as selection values for the first field (using @DbColumn) and the 2nd column is to be used in the 2nd selection field's values formula, i.e. a @DbLookup in the view using the value of the first field.

So:

1st field:
Dialog list
Values formula: @DbColumn("";"";"yourview";1)
Option: refresh fields on value change*

2nd field:
Dialig list
Values formula: @DbLookup("";"";"yourview";FirstField; 2)
Option: refresh values on document refresh*

* I cannot remember the exact phrases used, but you'll see what I mean soon enough.
0
 

Author Comment

by:lwillford
ID: 41892363
Thanks for the fast response!  I won't be back to this project until Nov 28th, so I'll confirm it then.  I think I understand - I was having a hard time figuring out what direction to even start going on this one!
0
 

Author Closing Comment

by:lwillford
ID: 41904814
Excellent response!  The example you gave me was easy to follow and did exactly what I needed.  Thanks!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question