diff --git a/pyxform/survey_element.py b/pyxform/survey_element.py index df133163..6c8b2adb 100644 --- a/pyxform/survey_element.py +++ b/pyxform/survey_element.py @@ -434,8 +434,8 @@ def xml_label_and_hint(self) -> "List[DetachableElement]": raise PyXFormError(msg) # big-image must combine with image - if not ("image" in self.media) and "big-image" in self.media: - raise PyXFormError("You must specify an image in order to use big-image.") + if "image" not in self.media and "big-image" in self.media: + raise PyXFormError("To use big-image, you must also specify an image for the survey element named {self.name}.") return result