I want to match a user’s input data with a particular data field. If the user input equals the data field, the checkmark should show (see screenshot). If it does not equal the data field, the cross should show.
Specifically, the dynamic content above the input will display the English version of a word. The user should then type in the Swedish translation of the word, which is stored in the same data type (see screenshot).
Any good ideas on how I get this to work?
Make this entire QUIZ group Type = Word
And in it’s Data Source, do your Search:
In the text field you will display “Parent’s Group english”
Now, in each icon ( and ), open the conditional tab and do something like:
For the check :
If input’s value is Parent’s Group swedish → This icon is visible.
For the cross :
If input’s value is not Parent’s Group swedish → This icon is visible.
Thanks a lot. I am struggling with what the data source string should be.
Do you know what I am doing wrong?
The string in my screenshot is apparently not sufficient / generates an error.
The data source of the Group needs to evaluate to a (single) Word (as that’s the content type you’ve set).
Currently (from your screenshot) it evaluates to a list of texts (the English translation of each word in the list).
So you need to decide which Word the group is going to show and set the datasource to that.
Then set the text to display Parent Group’s Word’s English
Then set up your conditionals on the checkmark/cross icon and colour etc.
As @adamhholmes said, your group needs to be ONE word. What are you doing inside the “Search for” filter???
Well I have no idea
To be honest, now I still have no idea what to put in the data source field.
If it’s not in the ‘Search for’ filter, where/what then?