Hi XSpider,
Funny! This is something I do in my own work. I use Form Tools for a lot of registration sites and inevitably add a "Status" column to track the status of the registration - "new", "pending", "reviewed", "rejected" etc. In the past I've always hacked the Smarty templates to colour-code those values, and every time I do it, I end up thinking that this should be in the core script. There should be an option to say: if field X has value Y, wrap it in the following tags.
Anyway, tangent aside - to your question:
Yes... but it's the same setting as allowing HTML before the submission is added: the "Strip tags in form submissions" setting on the Edit Form -> main tab should be set to "no".
This would let you add the tags, but it would also allow HTML in the incoming submissions. Would this be a problem in your case?
- Ben
Funny! This is something I do in my own work. I use Form Tools for a lot of registration sites and inevitably add a "Status" column to track the status of the registration - "new", "pending", "reviewed", "rejected" etc. In the past I've always hacked the Smarty templates to colour-code those values, and every time I do it, I end up thinking that this should be in the core script. There should be an option to say: if field X has value Y, wrap it in the following tags.
Anyway, tangent aside - to your question:
Quote:is there a way to allow html tags AFTER the submission is in the database?
Yes... but it's the same setting as allowing HTML before the submission is added: the "Strip tags in form submissions" setting on the Edit Form -> main tab should be set to "no".
This would let you add the tags, but it would also allow HTML in the incoming submissions. Would this be a problem in your case?
- Ben