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

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

Recommended Posts

Posted

Probably been asked before, but can a custom script you wrote in ScriptMaker be run automatically if a calculation field or any other type of field becomes a certain value? I would find this very useful for error control. For instance, if someone enters 3 in a field they aren't supposed to enter 3 in I would like it to automatically run a script that pops up a warning box that says "don't enter 3 in this field." Is there any way to get it to do this without having to have the user manually run the error control script after each entry?

Posted

The only ways that I can think of are:

- use a third party plugin ( for example 'doscript')

- make sure the user is always 'paused in a loop' and have the errorcheck (or whatever script you want) after the pause script step.

I personally really dislike either method; should be a built-in function.

ernst.

Posted

Or Validate by calculation your field using this option in the Define Fields Menu Options.

Or

Depending on your situation, use another calculation that would either display a "text message", a graphic or anything that would "alert" the user.

For example, use a global container in the backgroung and turn the entire screen red using :

- a global repeating container field with Red and your other Backgroud (or nothing).

- a calculation Case(fied value =3, GetRepetition(Container,1),GetRepetition(Container,2))

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