Edit text in preview

How can I add a field into a print/email that an user can edit in the OLFW (framework) preview? (You can edit the text if you click on that field on the preview)

Where exactly do you like to edit the field? The Designer preview?