Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

determining if a user clicked out of a popover

Featured Replies

I'm trying to capture the action of a user clicking outside a popover to dismiss it instead of using escape or a close button.

I have a field in the popover that has a onObjectExit script trigger to perform a find.  I have it setup to exit the script if they type Escape, or to show a custom dialog if nothing is entered into the find field and they type the enter key.

My problem is that I want to subvert the dialog if they just click out of the field onto the layout (slide Panel), but I see no way to capture this action. "Get ( ActiveLayoutObjectName )" doesn't work because they're not clicking into anything that would trigger that.

Couldn't you just make it a card window instead of a popover?  Or put a 'find' or 'search' button on the popover to run the script?

  • Author

A card window doesn't fit into the design scheme, unfortunately.  I could put a button there, but I was trying to make it a little more elegant by having it trigger on exiting the field. I guess I'll have to leave it as is and assume that they won't be annoyed when they get the "empty field" dialog...

 

Thanks.

Edited by vinnygi

I think we still need a little more info on the workflow/process of what you are trying to accomplish.

Why is a user opening a popover? For which task(s).

What triggers the popover to open?

What do you expect to happen if they open the popover change their mind?

Or a popover can have a field at the type that does a 'search as you type'.

There are many options.  I recommended a card window because you could make it look and function almost exactly like a card window.

'Empty field' dialogs can be surpressed.

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.