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
Bryn JonesBryn Jones 

button SelectAll is not defined

I am trying to make a button that selects the value of the contact phone field below is the on clcik java script that i have but it coming up with SelectA;ll is not defined...This is for our phone system where we highlight a phone number with our mouse then press a button on our phone and it dials it.....but selecting is a waste of time just ned a button....

SelectAll('{!Contact.Phone}');



thanks bryn
Ashish_SFDCAshish_SFDC

Hi Bryn,


Instead of Select All, you can use get value from the field.

Depends on which page you are using this one,

You may also post an Idea,

https://success.salesforce.com/ideaPost


Regards,
Ashish