Validated dom example behaviour