updating input sanitation method to sanitize input on field retrieval rather than up front at the start of the page request