maha | handling invalid values (ex:Nan, Invalid values) for fields
maha | adding field types for sub forms.