add form validation

add alarm
edit alarm
adit calendar