recode to separate callback method for text and

checkbox