Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
yanivvl0
Creator III
Creator III

How to select alwys one of two fields ?

hi to all ,

i have in my model 2  boolean fields : f1 , f2 .

in the users working mode one of them must be  all the time 1 ( 1 & 0  or 0 & 1 )  -  selection of 0 & 0   or   1 & 1  -  Should not be possible !

How can i implement That need ?   THANKS .

1 Solution

Accepted Solutions
RonaldDoes
Partner - Creator III
Partner - Creator III

Hi Yaniv,

I would combine the valid combinations in a field and put that in a listbox for the users to select.

Check "Always one selected value" to ensure that they choose either.

Naamloos.png

Please find my attached demo. I hope this helps you.

With kind regards,

Ronald

View solution in original post

4 Replies
tresesco
MVP
MVP

Could you post a sample qvw?

swuehl
MVP
MVP

Create a new field that is linked to your other two fields and that does only show the allowed combinations (NULL for any other combination of f1 and f2).

You can enable 'Always one selected' for that field.

RonaldDoes
Partner - Creator III
Partner - Creator III

Hi Yaniv,

I would combine the valid combinations in a field and put that in a listbox for the users to select.

Check "Always one selected value" to ensure that they choose either.

Naamloos.png

Please find my attached demo. I hope this helps you.

With kind regards,

Ronald

yanivvl0
Creator III
Creator III
Author

thank U Ronald - much help !!