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.

Dialog Input Field - Default button

Featured Replies

Is this an undocumented "feature"?

I just discovered that if you decide to have "Cancel" instead of "OK" as your default button, the value entered in the input field does not get recorded. In other words, if the button you choose to confirm an action with is not the default button, the input fields are left untouched.

Troughout my application, I have chosen not to take action "by default": if the users want to create a record, they have to intentionally click on the Create button (that is not the default), or if they want to print, the default is to cancel, the second button is to print.

I found that by doing so, records don't get created unecessarily and paper does not get wasted if the user trips on the enter key... (this is with a dialog)

I have experimented with global fields and regular fields, with the same outcome. This is the first time I have considered using the Input fields to create records (to do some preliminary validation before actually creating the record).

I have also tried not to have a default button at all (only use button 2 and 3) but it looks the fields input only works if the default button is used and selected.

Does someone know why the dialog function has been setup that way?

Yes, field input is only accepted when the default button is chosen. You're not the first to have trouble with this.

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.