Do a search in the MediaLab forums here on "validate" or "validation". That should turn up some threads discussing conditional pop-up windows when using custom items via HTML forms and the various options you have from that point onward.