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.

Show Custom Dialog Field Input

Featured Replies

Hi. This is my first post to this site.Not sure if I'm in the correct thread for this post but here goes...

I am trying to get the user to Input numeric information into 2 global fields, say Global1 & Global2, by using the Input Fields option of the ShowCustomDialog feature. Howver, the information does not seem to be saved to the fields after performing this script step.

Eg.

Set Field (Global1, 0)

Set Field (Global2, 0)

ShowCustomDialog("Enter the 2 numbers:", using Global1 & Global2 as the input fields)

If I choose say 65.7 for Global1 & 33.9 for Global2 in this dialog, when I subsequently check their contents, they both stay as 0 instead of 65.7 & 33.9

Anyone got any ideas why this is happening?

Please show us your actual script.

Only the default button (1) will write the values to fields. How are you buttons defined?

  • Author

Thanks for that help.I had swapped the default buttons around, as I usually have Cancel as button 1 and Continue as button 2 in normal message dialog boxes (so that if they click on the X to close down the dialog box it will act as though they had cancelled the operation).

It works fine now after swapping the button order back.

Thanks again.

This behavior is one of my pet peeves. I'd like the other buttons to (optionally) be able to accept the values too.

  • 1 month later...

That is completely ridiculous! What's more ridiculous is that there is no reference to this in the help file or filemaker.com. Banghead.gif

Thanks, Mike, for sharing this. You saved me 59 grey hairs today. Did you find this out through trial and error, or what?

J

Learned that one while trying to add a Change Password button to my custom login dialog. Thought it would be easier if the system kept the Username that might already be in the login window, but discovered that it didn't work. I think I saw this documented somewhere.

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.