how to get form values in typescript