Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
sabahat_quazi
Partner - Creator
Partner - Creator

Display every selected field value in different text boxes.

Hi All,

Suppose I have a list Box with values- Red,Blue,Green,Black, White

Now my requirement is - if I select Red it should display in one text box, if I further select Black it should display in another textbox and so on.

Is there any way to achieve this?


Kindly Suggest.



Thanks and Regards,

Sabahat

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi,

Consider this app, dynamically.

Best regards,

Cosmina

View solution in original post

9 Replies
awhitfield
Partner - Champion
Partner - Champion

What should happen if you select more than one color in the list box?

Andy

sabahat_quazi
Partner - Creator
Partner - Creator
Author

If I select ,for example 3 colors then they should get displayed in 3 different text boxes as below :

(Maximum limit is - 5 textboxes)

rahulpawarb
Specialist III
Specialist III

Hello Sabahat,

Trust that you are doing well!

Please refer attached sample application.

Regards!

Rahul

sabahat_quazi
Partner - Creator
Partner - Creator
Author

Thanks Rahul .

But instead of hard coding Colors in expression, can we make it dynamic..as there could be 10+ values for color

Also on multiple select It should display all the values(maximum upto 5 )

Anonymous
Not applicable

Hi,

Consider this app, dynamically.

Best regards,

Cosmina

Anonymous
Not applicable

*It has condition on Layout

sabahat_quazi
Partner - Creator
Partner - Creator
Author

Thanks Cosmina,

your solution worked well with requirement.

Thanks a lot.

kdmarkee
Specialist
Specialist

Using your color.qvw, how would you code it if you needed to select more than 6 field values?  I'm working on a project where I allow the user to select up to 12 values of a list box, but after 6 selections, you get results like "7 of 42", for example instead of all 7 field values chosen.  Thanks.

kdmarkee
Specialist
Specialist

Found my answer...there is a max value parameter in the function, ie, =GetFieldSelections(FieldName, ', ', 12)