Define an element as required. Required elements need to have a value filled in by the user before the form can be submitted.
If you are dealing with conditional actions to show or hide required elements, make sure to set the target elements’ Hidden option to Conditional Hidden so the required check will not be performed on these elements.