getting values from UI and validating results before disabling widget for modification.
hiding unneeded location checkboxes after validation.