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

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

Recommended Posts

Posted

Tip: Here's a hugely annoying aspect of the "Show Custom Dialog" script step. I recently wrestled with it and thought I'd post the tip in case anyone else is stuck.

When including fields in a Custom Dialog (e.g. "Please enter the amount of whatever you're doing" [amount field]), the data the user enters in that field WILL NOT BE RETAINED unless "OK" is the default button. I had switched the default to "cancel," and kept losing the field info. Switch default to "OK," and option 2 to "cancel," and the info will stick around.

Posted

It actually now says it in FM Help (I'm unsure that it used to)}:(

[color:gray]Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file.

... but it sure would be nice if it said so on the custom dialog itself. After all, there is plenty of room on it. :wink2:

  • 2 weeks later...
Posted (edited)

I agree this is HUGELY annoying. I use the dialog boxes mostly to confirm that the user is about to do something difficult to reverse or whose ramifications are significant. I use the default button to cancel as a defense against users just pressing the Enter key to get past those "pesky" messages without reading the text. Now, if I also want to ask the user for input I have to give up consistency within my GUI. I am hard pressed to think of a reason for this default button only restriction in the first place!

Edited by Guest

This topic is 5454 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.