Notifications
Announcements
I would like to set up validation on Edit icon based on gallery1, If item is not selected on gallery and select edit. I need display message saying "Select item from gallery" and not navigate screen without selection of the item in the gallery
Hello,
Lets say your gallery is named Gal1 and your edit button is name icoEdit so on the onselect property of icoEdit you putif(IsBlankOrError(Gal1.Selected),Notify("Please select"),Navigate(screenedit))
Best regards,
Alaa
Found solution from above suggestion, Thank you !
Hi @Nikhil2 ,
If you change your formula a lit bit it might help you.
If(IsBlank(Gal1.Selected.ID),Notify("Please select"),EditForm(Form);Navigate('Status (Form)'))
Thank you ! I have modified in a same way. But i have one more question I have edit Icon OnSelect i navigate and can edit the Form(screen2) but i would like to hide editIcon when there is no columnchart(screen1)
Yellow highlighted is the place where edit icon placed, even though chart is visible i cannot see edit icon because visible property is set to If(!IsBlankorError(ColumnChart),true,false).
Onselect: EditIcon
If(IsBlankOrError(ColumnChart1_7), EditForm(Form);Navigate('Status'))
sur so what you can do is is set the visible porperty of that editicon. But what do you mean by columnchart(screen1) ?
Hi @Nikhil2
Due you mean when same columnchart variable is blank you want to directly hide the edit icon ? If so you can try below code
Edit icon : Visiblity: If(IsBlankOrError(ColumnChart1_7),false,true)
Basically When Chart(Project1 data source) is visible from above image, i need to show edit icon which navigates to edit form else i need to validate the edit icon to saying create chart to edit.
Found Solution to this.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268