fix: validation on submit didn't consider having an element that itself has no text content as valid, even though it should be. is now correct and consistent with what validation shows in GUI.