You are viewing limited content. For full access, please sign in.

Question

Question

Multi-Line Forms field: new line via Formula

asked on June 23, 2017

Hello,

I would like to be able to populate a multi-line field with values from other fields, separated by a new line, i.e. linefeed character, preferably by using a Formula (or Default Value if possible). I've tried the standard spreadsheet formulas, e.g. "=string & CHAR(10) & string " , or "=CONCATENATE(string, CHAR(10), string), but am having no luck. For what it's worth, I've had similar problems in past attempts to concatenate a space either as a string or via the CHAR() formula, eventually opting to create another column in my SQL view with the concatenated string.

I know there will be both JS and SQL workarounds -- I've essentially gotten the SQL method working with a "CONCAT(string, CHAR(10), string)" type approach -- but being able to use the Formula method would be much less cumbersome, so if this is possible and I'm missing something, I'd appreciate the information.

Thanks,

Jesse

0 0

Replies

replied on June 25, 2017

Hi Jesse,

This is a bug that values will be always trimmed before calculated, so the CHAR(10) will be removed. The expected behavior is to trim field value only.

The issue should be fixed in next release. Sorry for the inconvenience.

0 0
replied on June 26, 2017

Thanks for the explanation, looking forward to the fix.

0 0
replied on April 13, 2020

Was this ever fixed?

0 0
replied on June 23, 2022

This bug appears to still be happening in Forms 11.

0 0
replied on September 8, 2022

Confirming that we are running into this as well on the latest Forms 11.  Is the fix still on the roadmap?

0 0
replied on September 14, 2022

I just tested it working expected on latest Forms 11:

Formula configure: 

Fill form: 

Can you give more details on how you ran into this issue?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.