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

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

Recommended Posts

  • Newbies
Posted

I just made the jump to 7 and my new Custom Dialogs do not work as I would have expected. I simplified my script down to:

Set Error Capture [ On ]

New Record/Request

Show Custom Dialog [ Title: "TITLE"; Buttons: "OK", "not OK"; Input #1: records::name record fill out, "test" ]

If [ Get ( LastMessageChoice ) = 1 ]

Beep

End If

Commit Records/Requests

gives me only the value in my target field (+ the beep) when I push button 1. By contrast, when I push button 2, no beep (correct) but the target field remains empty

  • Newbies
Posted

In the Custom Dialog ("records::name record fill out" is the name of the field). But don't forget that the the target field contains the value entered into the dialog if I choose button 1 !

Posted

"when I push button 2, no beep (correct) but the target field remains empty "

Eddy, Custom Dialog only accepts input and sets a field based upon default 1. If you want to accept user input to a field, it must be 1 (or OK). Reverse them and it should work as expected.

  • Newbies
Posted

Thanks MoonShadow. I knew it was something silly but after almost an hour of testing slightly modified scripts, I had not found the reason yet

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