Add clear functionality for form