Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I have a field "Categories" with 3 tags
"Unhappy"
"Neutral"
"Satisfied"
I'd like to create 3 text boxes for each categories with action , when I click once -> select 1 categories. Click again deselect it.
How is better to do?
Create 6 boxes: 3 to select and 3 deselect with show conditions
Or others tricks?
I created 3 variables for each "Categories"(vSatisfied,vNeutral, vDislike)
Add action Select in Field for "categories' and add set variable vSatisfied=1 others =0
And in text box expression added
=IF(vSatisfied=1 , 'C:\Users\Pictures\c_praise (2).png','C:\UsersPictures\c_count (2).png') and so on for each image
changed for image display
In your text boxes, you can set them to do the 'Toggle Select' Action. Set the field name to Categories, and Search String to one of the tags.
Marcus
please check out the link where i have posted a document on creating actions on text boxes.
Also see attached FYI.
hope that helps.
It may be useful to have a button (or several) which toggle between selections.
If you search for toggle on this forum, you may find some useful discussions already.
HTH
the final version of my selection is
I have 3 images with counts for each "Categories". When I select one of them, this image should be the same, others images should be changes.
How you suggest to do it? I didn't use QV a long ago. Maybe there is new tricks.
I created 3 variables for each "Categories"(vSatisfied,vNeutral, vDislike)
Add action Select in Field for "categories' and add set variable vSatisfied=1 others =0
And in text box expression added
=IF(vSatisfied=1 , 'C:\Users\Pictures\c_praise (2).png','C:\UsersPictures\c_count (2).png') and so on for each image
changed for image display
Hi Vladimir
You can use select in field action with conditional search string.
Please see the attachment.
Thanks, that works perfect. But it doesn't show visually what is selected. That's why I switched to change background images. (easy to use background color, mockup was done with images)
Selected image should be bright, other images should be gray.