I assume the Make Conditional Region on a repeat element allows me to say only repeat this element when this condition is true, in my case i have a repeat from a database query, and i want it to only repeat all images that do NOT have the extension of .pdf
My condition should look like this i think
pop_image.endsWith(’.jpg’).endsWith(’.png’).endsWith(’.gif’)
But it will not allow this, here are some screenshots, in the first i click Make Conditional Region in the App Structure Properties Panel
Then in this second screenshot, i choose pop_image from the repeat_pop_images repeater and click the data formatter magic wand symbol and a pop up box comes up with an error "Unknown variable pop_image!

Community Page
Last updated:
Last updated: