Jump to content

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

Recommended Posts

Posted

Sorry if this is in the wrong group but the problem is a combination of Global Fields and Scripts...

I have a script that takes the user to a new layout where there is a global field (we'll call it gField.) gField is defined as a checkbox list based on values from a different field in the database.

The script is paused to allow the user to choose their selection, and it is continued when the user clicks a button (which performs resume script.) There is only the one script running.

After the user clicks the button to continue, I have an If Statement...

If ( IsEmpty ( gField ) )

that shows a pop-up message telling the user that the field is empty and that it needs to be filled before continuing.

However with this script, the message will always appear if the global field was empty when the script started, but will perform correctly if the field was not empty before the script started.

To me this seems like a bug because the global field should take effect during the script (the data choosen remains there after the script is cancelled.)

Anyone else have this problem or know about a stupid mistake that I've missed?

Posted

Never mind, Im on crack...forgot to change one of the buttons so I was running a different (yet similar) script.

Please ignore the crazy man talking to the wall smile.gif" border="0

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