For a form such as
Is the time known? Yes or No
If Yes then asks time input.
Is the time flexible? Yes or No
If yes then asks num of hours input
How should the form submission be recorded in a database?
Should one record all 4 fields (2 booleans and 2 non-booleans in this case) in the database? Or just store 2 non-booleans and store the field as null if that field has a No value from the form?
Is it worth having a field in the database for the yes/no submission from a form? If so what would the value of the nonboolean field be if the existence of the field is No?
The said duplicate question doesn't address the question of storing booleans for a fields existence. It only discusses the representation of no data in a MySQL DB table field.