Sara Severson Posted December 4, 2009 Posted December 4, 2009 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.
bcooney Posted December 4, 2009 Posted December 4, 2009 Sorry you fell into this trap. It's bit us all at least once.
LaRetta Posted December 4, 2009 Posted December 4, 2009 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:
DFehrenbach Posted December 18, 2009 Posted December 18, 2009 (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 December 18, 2009 by Guest
Recommended Posts
This topic is 5804 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 accountSign in
Already have an account? Sign in here.
Sign In Now