honor blank and default field attributes

Hi @stefanfoulis 
I've made a patch to honor blank and default field attributes to allow non null phone number fields to be saved.