gnarlydude Posted April 26, 2002 Posted April 26, 2002 This is probably really simple for FMP pros but I can't figure it out. Here is what I need to do. A user clicking a button on a record triggers the Show Message step and after reading the question in the dialog box they click Yes or No. I've got that so far. Now, depending on which button they clicked, I need the script to insert Yes or No into a "YesNo" text field. Can anyone help me? Thanks! Joe
mun Posted April 26, 2002 Posted April 26, 2002 After the show message script step, try using the status(currentmessagechoice)script step in an "if" script step. Depending on what you use for your default choice, you may have No as the default and Yes as choice number 2. Then have the if step determine if the currentmessagechoice equals 1(default) or 2 and depending on that, have the field changed to yes or no accordingly.
Fitch Posted April 29, 2002 Posted April 29, 2002 Show Message ["Is that a yes or a no?"] Set Field [YesNo, Choose (Status (CurrentMessageChoice), "", "Yes", "No")] Be sure to include the "" (blank) as above, since the first argument of the Choose function is zero.
Recommended Posts
This topic is 8248 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