start adding form validation to receipt template editor