Announcements
So I have a horizontal gallery look like :
So basically I want to apply a required logic in this gallery i.e. if a user doesnt select the option from radio he will be show an error and the gallery should not move to next question
Help me out!
Hi @valavbs
Can you please tell me how you set this up in a Horizontal gallery.
The question part of the horizontal gallery is fetch from a sharepoint list and the I have manually added radio button from insert
I have edited(deleted the part that i dont want) gallery
@valavbs
I think this is what you are after:
In the DisplayMode property of your next button:
If(IsBlank(<Your Radio Control Name>.Selected), DisplayMode.Disabled, DisplayMode.Edit)
Please tick Accept as solution if the answer is useful.
Thanks,
@AARON_C
Hey!Actually the navigation arrow is a part of the gallery itself and it doesnt have any control or property of itself even we cant select or move it.But one thing we can do with it is to control the visibility of the arrow via gallery property showNavigation , So now I m working with it to show error when a user havent selected the option and hide the navigation button and make it visible only when user select it.
But now I m facing one more problem like for every question there are different radio option and how to access each radio option in gallery and put the above validation.
Please let me know if you have any idea or need more explanation for the same.
Could you please tell me a bit more on how you have structured your data (both your questions and answers list)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2