Close a Slider Panel on Okay button?

Hey, one more for today.

I have a slider panel opening from a button click. I’m only displaying some data. Opens fine. But I can’t close the slider with the OK button–only with the X box.

Here’s the slider panel and button.

Here’s the onclick event, and it looks like to me I have the OnOk set right:

But the slider doesn’t close when I click the OK button. I added a Cancel button and that didn’t close when I added slider-close in OnCancel, either.

Collapse on Outside Click works okay.

Am I working in the wrong place?

Thanks,

Joe

I’ve never been able to do this in the same event.

Copy the ID of the “Ok” button on your slider page.

Try creating a new event:
Trigger:
Control > On Click > the name of your button ID on your slider page.

(it may not be in the dropdown options… just paste it in.

Then add a slider-close.

1 Like

Cool, thanks!