September 10, 200322 yr 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?
September 10, 200322 yr 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.
September 10, 200322 yr 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))
Create an account or sign in to comment