firebase submit form working with points and dates