cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Axal
Post Prodigy
Post Prodigy

Responsive layout with form and confirmation

Hello guys,

 

I am wondering, in responsive layout whereby we use container to place all the object automatically align (vertical or  horizontal), how can we create confirmation ?

 

For example, I have a form in my container. Then I have buttons for Edit and Delete. Edit was easy because we use EditForm(), but for delete, we normally ask for a confirmation first whether we really want to delete the current record or not. Following what Shane Young or Daniel's YouTube, we used to create an over layer objects in front of the current form, but this is inside a container so there is no over-layering.

 

Any idea how to have a confirmation ?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @rubin_boer 

Yes, thanks for the suggestion. Actually the container is for the whole screen. But still it can using the visibility switch.

 

Thanks.

View solution in original post

2 REPLIES 2
rubin_boer
Super User
Super User

hi @Axal you can use a component outside the container as well. i am not too sure about the responsive layout and will assume only Edit and Delete will be visible at some point. 

 

Having a container with visible set to a variable will allow you to achieve this unless im missing the question?

 

When clicking on the delete button set the variable to visible

rubin_boer_0-1629141571714.png

 

Delete button OnSelect = UpdateContext({_ShowForm:!_ShowForm})

Container to show message visible = _ShowForm

Oops go back button OnSelect = UpdateContext({_ShowForm:!_ShowForm})

Cool wipe it button OnSelect = Remove(yourRecord)

 

Is this what you looking for?

 

Hi @rubin_boer 

Yes, thanks for the suggestion. Actually the container is for the whole screen. But still it can using the visibility switch.

 

Thanks.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,356)