January 14, 200917 yr 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
January 14, 200917 yr Author my bad everyone, I changed it to object modify and it is working fine. Thanks
January 14, 200917 yr Have you watch the videos Here that [color:blue]Old Advance Man pointed to. I found the ones on Script Triggers very helpful. Lee
Create an account or sign in to comment