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

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

Recommended Posts

Posted

Hi everyone,

I am loving the script triggers but am having trouble with one thing.

I have a solution where we enter unit codes and quantities. some unit codes like conduit, require a distance (point a to point : and the quantity is calculated. so I have a "from" field and a "To" field. Some units like a manhole only needs one field (I use the "from" field). I wrote a script that says if the unit code is "manhole" and the user tries to enter a value in the "to" field, it shows a custom dialog box telling the user he can't do that and clears the field. I triggered the script by keystroke. The problem is that it appears that the keystroke is merely postponed until the script runs then the keystroke is entered. So if someone enters a 1 in the from field, the dialog box comes up and admonishes the user the field is cleared and the script ends, then the one is inserted. Is there a way to actually prevent the keystroke from entering?

Thanks in advance

Posted

Have you watch the videos Here that [color:blue]Old Advance Man pointed to. I found the ones on Script Triggers very helpful.

Lee

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