save and read the field types value