Thanks for the reply. I'm assuming that I'm to insert this into the validation tab of the total items field. Is this correct? Let me know when you get a chance.
No, this code is for the Submit button.
It works perfectly now.
Thanks so much! I really appreciate your help.