Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
Old_Salt
Old_SaltCorrect answer
Participating Frequently
July 14, 2020

 

var r = Number(this.getField("field").valueAsString);
event.value = r*5+"\n"+r*5;

 

5 replies

try67
Community Expert
Community Expert
July 14, 2020

You need to better explain what you're trying to achieve, because your code doesn't make much sense...

Translate
Asim123Author
Inspiring
July 14, 2020

Need to make line break to show same result of calculation (*5) in both rows.

Translate
try67
Community Expert
Community Expert
July 14, 2020

So you want to show the same value twice, each one in a separate line?

Translate