Hello VB Scripting Gurus:

I need some help in scripting from workflow and here is what I need to

if bg_status = closed and bg_user_04.value = code bug , then system
should pop up for two required fields (bg_user_16, bg_user_17)

if bg_status = closed than system should pop up for required field
bg_user_18 otherwise user should not be able to close the bug.

Anyone has sample code on this or has anyone done this before.
Appreciate any help.