New variable type to support longer blocks of text
I am creating a cover letter report. I want to set the default text for the body of the letter but allow the user to modify it prior to report generation, and it should have multiple paragraphs. The existing Text variable doesn't support line breaks, so this is not possible. Please add a new variable type (e.g., TextArea) that would be more appropriate for longer blocks of text than what was probably intended/envisioned with the existing Text type variable.
We have reviewed this request and I am happy to announce that it has been accepted for development! I will update this ticket again when I have any new information on when this functionality is planned for release. Thank you for your idea, and please submit any other suggestions you have to improve our products!
Matthew -- we use a similar method to output HTML-formatted text that comes directly from data and briefly discussed doing this also with params as you described, but we won't ask our users to add HTML tags to get line breaks and have a different approach within our solution. But it's good for others to know this workaround until this idea is implemented. :)
Matthew Carr commented
Kelly Gillespie (Windward Support) just showed me a trick... Input parameter type text, pass in HTML. Use "out" tag and set it's type to "Template". I'm only using this to format address blocks, but should work for larger strings.
They would be input parameters, yes. Ideal workflow would be to set a default block of multi-paragraph text that the user could then customize as s/he sees fit (or replace altogether). The user would be able to see several lines of text and expand the box as needed (using existing web browser capabilities) to see more if needed. This is a common request from our customers, and we have to use other functionality in our own application to work around it, which means we end up not using the Windward input parameters at all so as to not split up where they're entering data.
Just a quick comment that 3.5 years later, this is still an issue I'm having to work around as recently as today for a new customer. It's embarrassing to say that we still aren't able to support multi-paragraph text variables. :(
In answer to your question, Adam, the text is plain text. Line breaks in the text returned could be via the newline character as you mentioned, as long as the user doesn't need to manually type \n.
Question for you: What form are these text bodies in as they are submitted to the template? Are they coming in as data, or input parameters? Also, how is your new line defined, are you utilizing the "\n" newline character in your data or something else?
Thank you for your patience in helping me understand your request.
I should have said that this isn't possible without multiple variables, one per paragraph, which isn't an acceptable solution for my users.