Solved

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

Posted on 2016-11-17
3
79 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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