It would be better to show the whole script. You didn't say if you watched this through the script debugger and which way the script was branching with the If/Else If steps.
Ive slightly modified my need as I came across another scenario.
- if the two fields are blank I don't want it to do anything but prompt to fill in one or the other.
- if both fields are completed I don't want it to do anything but prompt they can only make one selection
- if one field or another is selected run a script.
I have attached a screen shot.
I thought the check for if both fields are completed that it should say AND not or as I have but I was told no that is not correct, it should say or....
Your first If step evaluates as true if global staff or global service is not empty. This will be the case if just one or both of these fields is not empty. Use And instead of Or if you are testing for the case where both fields have a value selected.
Thank you, I thought that was the case alright.
Also, I was advised to write it as Not IsEmpty(Field) and use xor....this has also worked as I needed it to.
Thanks so much for the help!!!