border around textfield with caption inside it

I’ve noticed that it is possible to set a border around form (.v-form fieldset). Owing to this the form caption will be within the border. I would like to get the same effect for textfield - is it possible?

Thank for all hints