Forum Discussion
I don't believe there's a standard parameter for tags like there is for the subject, but you could potentially use your own parameter, read this parameter, and then update the tag field value using some JavaScript. It's not the most straight-forward approach, but it should be possible.
As always, I'd suggest being careful about accepting user inputs via query string that are later rendered in the page. You'll want to be defensive about how you code this to avoid any code injection vulnerabilities.
If you read the parameter using FreeMarker, there are some escaping and encoding builtins that should help:
http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_html
http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_js_string
If you choose to do it entirely through JavaScript, there are similar methods available there as well.
Related Content
- 10 months ago
- 3 years ago