subscribe path function, text input styling