validation script for radio buttons