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

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

Recommended Posts

Posted

I have a problem and the script is really simple. What am I doing wrong.

I have a field called "comment" in a table. I want a custom dialog box to open and I want two options for the user. When the user hits button 1, the data from the input field enters perfectly into my comment field. When the user hits the second button it won't put the data into the "comment" field. I thought I was using the getlastmessagechoice function incorrectly, so I got rid of that part of the script as a test. Now I'm left with a two line script to just get the second button to allow the data to enter into the "comment" field. My script looks like this:

- create new record

- Show Custom Dialog (set up for 1 field input and two buttons).

- Exit Script.

Why is it that when you hit button one, the data goes into the "comment" field. And when you hit button 2 it doesn't? What am I missing here?

Thanks for your help.

Posted

[quote name=Help > Script steps reference > Miscellaneous script steps > Show Custom Dialog script step]Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file.

Posted (edited)

ah ha... so how do I go about something like this...

button one is to publish the comment to the event log record... button two is supposed to do what button 1 does PLUS create an email to send to people associated with the record? I know the email part, but how do I get that second button to write the data to the field like button 1?

Edited by Guest
Posted

You could show a second custom dialog for the e-mail part, or create your own dialog layout and show it in a new window, or use a plugin that provides dialogs with more abilities than FM's native one.

Posted

Sounds like a good idea, I'll go the route of making my own layout with separate buttons. Thanks again for the clarification.

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