Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List Box with default selection

Hi,

I have created a List box with a multi selection possibilities and i have following Values:

- Value 1

- Value 2

- Value 3

- Value 4

- Value 5

- No Information.

Now i want to have " No Information" selected as default (When document loads and on Clear)

and also when i select any other value (incl. Multi select) the "No Information" needs to be selected all time.

Is this possible?

THX

1 Solution

Accepted Solutions
ecolomer
Master II
Master II

Here you have an example

View solution in original post

13 Replies
ecolomer
Master II
Master II

You can assign a trigger to field in order to select a value at start and also more trigeer when select another value

Sorry because my english isn't good

If you nedd I can write an example

Clever_Anjos
Employee
Employee

  • Pre-select "No Information"
  • Use Set Clear State

Capturar.PNG

Not applicable
Author

Enrique,

Thanks for your response, but  i didn't completely understand your answer.

can you please give an example?

Not applicable
Author

Clever,

i tried using Clear State as you said,but it didn't work 😕 

rupamjyotidas
Specialist
Specialist

What Enrique was trying to say is that you should apply Triggers for the same. 'On AnySelect' should work

Anil_Babu_Samineni

Have you tried this option. First select whatever value you required. Then, goto listbox properties and check always select one value then save. And close it and then open and try to clear. Might be you will reach the target.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tamilarasu
Champion
Champion

Hi Shani Damri,

You can try below expression

='("No Information"' & If(GetSelectedCount(Value) > 0, '|' & Chr(34) & GetFieldSelections(Value, Chr(34) & '|' & Chr(34)) & Chr(34)) & ')'

I have attached a sample document and trigger action screen shot for better understanding!!

Have a nice day.

ecolomer
Master II
Master II

Here you have an example

Clever_Anjos
Employee
Employee

It´s supposed to work.

Please find attached