Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7264 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

Posted

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

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

Posted

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.

This topic is 7264 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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