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

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

Recommended Posts

Posted

I have a simple script adding messages via a dialog. The dialog has one input field, a global with a default value (e.g. "Enter text here...".

Dialog offers the user the chance to:

(1) enter their comment in the input field (global)

(2) click one of three button choices: add comment as a note; add comment as an event, and cancel.

The oddity is that after much testing, only the default button works. If the secondary button is clicked, the "inputted text" never takes, and I get a message with default text "Enter text here...". If I enter identical text and click the default button, works flawlessly.

I have stepped through this with Script Debugger to ensure the branching was correct, and there is no problem there. Just simply seems that the text entered into the global dialog input field does not 'take/commit' when you click button 2.

Is this a known bug by any chance?

Seems I have to split my script into two 2-button varients...

Thanks for your wisdom!

Posted

It's not a bug, but a known and documented behavior: in a custom dialog, only the default (rightmost) button will write information from the input fields to a file.

  • 2 weeks later...

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