I have written a function to validate my extension UI form called
validateForm(form) which return a boolean. My problem is when I try to use the
function within the applyServerBehavior() function like so:
function applyServerBehavior(sbObj){

if (validateForm(this))
{
apply the sb stuff
}

return errStr;
}

What happens is that the validation works and warns of required fields, but
after the warnings the server behvaior is applied anyways. Is there a way
around this?