Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Cannot use Formatter property in details page

$
0
0

Hello Experts,

 

I am trying to use a java script to make first letter of sentence in upper case using the formatter property by writing JS in formatter.js.

I am able to use it successfully on master page for a field value but for same field value I used in details page it is not able to fetch that string value and gives error "Cannot read property replace of 'null' ".

It looks like that value has not been initialized in details page during load of that script but same script it is very well working in Master Page!

How is that possible?

Below are the details of code, Please help.

Will reward accordingly.

 

formatter script

2016-04-08_21-39-05.jpg

Master Page (script working correctly)

2016-04-08_21-54-51.jpg

Details Page (same script failing)

2016-04-08_21-41-41.jpg

Debugging error (on details page execution)


2016-04-08_21-43-41.jpg


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>