added inheritance feature for text fields as per ticket #5