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

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

N/A

Resolution

Chose the method which fits your goal: http://www.elated.com/articles/working-with-strings/   and modify the string data as per below example:

an example which removes "Word2" from string "Word1 Word2":   Calculatedvalue would contain: [script]

 '<%Original_Field_Name%>'.slice(0,-6);</script>

Defect ID

N/A

Leave a Reply