Use form event to call medi web service