Skip 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.

Odd bug when choosing non-default Dialog button choice

Featured Replies

I have a simple script adding messages via a dialog. The dialog has one input field, a global with a default value (e.g. "Enter text here...".

Dialog offers the user the chance to:

(1) enter their comment in the input field (global)

(2) click one of three button choices: add comment as a note; add comment as an event, and cancel.

The oddity is that after much testing, only the default button works. If the secondary button is clicked, the "inputted text" never takes, and I get a message with default text "Enter text here...". If I enter identical text and click the default button, works flawlessly.

I have stepped through this with Script Debugger to ensure the branching was correct, and there is no problem there. Just simply seems that the text entered into the global dialog input field does not 'take/commit' when you click button 2.

Is this a known bug by any chance?

Seems I have to split my script into two 2-button varients...

Thanks for your wisdom!

It's not a bug, but a known and documented behavior: in a custom dialog, only the default (rightmost) button will write information from the input fields to a file.

  • 2 weeks later...
  • Author

Well, that would certainly explain it!

Thanks.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.