function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NakataNakata 

How to use javascript to get standard page field id ?

Good day, 

 

Appreciated if someone can point out how can i get the value of Lead status from lead page ?

 

Thank you !

Ankit AroraAnkit Arora

Am bit confused why you need a Id of field of standard page and where exactly you are using the javascript.

 

But if you right click on the field on native page > Inspect Element > You will be able to see the id of the field, but it can change if you move on different organizations.

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

NakataNakata

we need to check the status of field, if status match to given value, then we need to forward to other page.