aaronpxavier / ubpilots

ub pilots association web application
MIT License
1 stars 3 forks source link

Add form validation to logbook entry form #110

Closed aaronpxavier closed 6 years ago

aaronpxavier commented 6 years ago

pic and sic fields can be left alone. make route fields required fields. make select aircraft field required. Under the enter time fields: only the total time should be required. however all three fields should be checked for numeric values, if imc and/or night fields are empty the values should be set to 0 before submission. Under the take enter number t/o ... both fields should be required. and should be numeric