Forums

popup with the delete link only opens in the 1st line

Fredolino 07 Mar, 2023
Hello,
After a few attempts:
This is probably how the popup works for the warning before deleting. In my case, the popup from the 3rd line is no longer in the right place next to the data record that should be deleted. But it looks like the right data record is still deleted.

http://www.sommerfugl.de/_adat/popup_screen.jpg
skittle 05 May, 2023
I can confirm that this does not work as it did in CF6 and makes the CF7 Table List unusable for my application. I am not trying to delete a record from a Table List but want to confirm a simple edit for a record in a Table List. I have a button in each row of a Table List with a popup configured to open on the click of the each button. As documented in the previous posts, clicking the Button that corresponds to the first row of my Table List shows the popup as expected. Clicking any other button than the button in the first row does nothing. In CF7 this behavior is the same for the Table List in both Forms and Connections.
Fredolino 05 May, 2023
Yes, that makes a long table unusable because the delete button is off-screen.
I haven't tried it yet, but maybe you can delete a modal window with? Yes? No? build. Which is cumbersome. I have also tried to create a modal with CF 7, which also didn't work and looked totally stupid.
skittle 08 May, 2023
As a partial workaround for not having the ability to use popups with Table Lists that contain more than one record, I was able to create a fairly functional alternative using a modal window. The key to making the modal window mimic a popup is accomplished using a Run Condition that depends on a button click and some CSS that changes the modal window's location to 'position:relative'. Setting the modal window size to Mini helps it to appear more like a small confirmation popup and changing the CSS makes the window appear beside the button that was clicked. Of course the modal window still applies the 'dimmer' to all the area around the modal window (which isn't ideal) but this does allow me to accomplish what I wanted.

Edit: Further testing shows this doesn't really work. The modal window will often open beyond the current display and requires the user to scroll to find it - nowhere near the button that was pressed.
You need to login to be able to post a reply.