Before adding select fields in place of text fields