added prompttype for textarea