Set text fields according to input text types (title/text block)