I am creating an app which give the user the functionality to create various templates and insert speicified field into the template which will then dynamically create a series of documents. I’m using ???FIELDNAME??? then do a replace with Text from the Db. I am using the insert text function into Summernote.
apologies Teodor, I wasn’t very clear. The screen will allow a user to create a dynamic html document template. The userl clicks on a button which will insert a field name ( ie if the the user wants to create a personalised document and he wants to insert say the first name of a person into the document, he will click on the appropriate button. This will insert ???FirstName??? into Summernote at the cursor. Then when the document is ready to create. A search and replace pulls the relevant field from the database and creates the personlised document.