Jump to content

Having a script run on it's own


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

Recommended Posts

I have written a script that looks at two fields and if they aren't empty then it it runs a set field step to check a check box. I would like this to run automatically. Perhaps when someone type something into a field, then it runs this script. Is that possible. Can I do that as part off a calculation?

Link to comment
Share on other sites

I have a partial answer to my question. I changed the field to a calculation that is always validated. The formula is

If ( Remainder Due ; 0 ; "Completed" ) but the problem is I want it to also check a field called actual shipping to make sure it is greater than 0 and if both are true then it should mark the order completed. I know this can be done I'm just not sure how.

Link to comment
Share on other sites

The IsEmpty() function is the best way of determining whether a field is empty. Alternatively, "IsEmpty() = 0" or "not IsEmpty()" can be used to test whether a field has data entered.

Link to comment
Share on other sites

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