Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
Partner
Partner

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
cocosmina
Contributor II

Re: Display every selected field value in different text boxes.

Hi,

Consider this app, dynamically.

Best regards,

Cosmina

View solution in original post

9 Replies
Partner
Partner

Re: Display every selected field value in different text boxes.

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

Andy

Partner
Partner

Re: Display every selected field value in different text boxes.

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
Valued Contributor III

Re: Display every selected field value in different text boxes.

Hello Sabahat,

Trust that you are doing well!

Please refer attached sample application.

Regards!

Rahul

Partner
Partner

Re: Display every selected field value in different text boxes.

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 )

cocosmina
Contributor II

Re: Display every selected field value in different text boxes.

Hi,

Consider this app, dynamically.

Best regards,

Cosmina

View solution in original post

cocosmina
Contributor II

Re: Display every selected field value in different text boxes.

*It has condition on Layout

Partner
Partner

Re: Display every selected field value in different text boxes.

Thanks Cosmina,

your solution worked well with requirement.

Thanks a lot.

kdmarkee
Contributor III

Re: Display every selected field value in different text boxes.

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
Contributor III

Re: Display every selected field value in different text boxes.

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