JIM1945 Posted August 9, 2003 Posted August 9, 2003 I have a script that goes like this, send male, pagemaster, the send mail needs to look at email fild and if anything is in the email field send mail, but if email is empty it needs to look at field alphnum and if any info in that field use pagemaster. also i need to place a 1 in my flag field if email is sent and if pagemaste is used to place a 1 in a different flag field, this is done for sorting purpose. the problem is i cannot seperate my flag fields when send mail is used or pagemaster is used. thanks
Lee Smith Posted August 9, 2003 Posted August 9, 2003 You will need to use the If Statement and Else. I not sure what pagemaster is, but if it is activated like a URL, then your script would be something like If (not IsEmpty(Email) Perform Script ["Process Emial"] Else Perform Script ["pagemaster"] End If Keep in mind, some script steps require the fields to be on a layout to be perform. Also, if the scripts to do email or pagemaster are in different files, then your perform external scripts may require you to go to the other files, etc. Good Luck and HTH Lee
Recommended Posts
This topic is 7780 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 accountSign in
Already have an account? Sign in here.
Sign In Now