Skip to content
Loading...

INTERNAL: How to show modified value of a field using CalculatedValue field type and a Javascript

Title

INTERNAL: How to show modified value of a field using CalculatedValue field type and a Javascript

Description

INTERNAL: How to show modified value of a field using CalculatedValue field type and a Javascript

Please wait...

When working with values which consist of “Word1 Word2”, you may prefer to separate this to different fields or remove “Word2” from the value.

Cause

<p>N/A</p>

Resolution

<p>Chose the method which fits your goal: <a href="http://www.elated.com/articles/working-with-strings/">http://www.elated.com/articles/working-with-strings/</a>   and modify the string data as per below example: <br/><br/> an example which removes "Word2" from string "Word1 Word2":   Calculatedvalue would contain: [script]</p><p> '<%Original_Field_Name%>'.slice(0,-6);</script></p>

Defect ID

<p>N/A</p>

Leave a Reply