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
KrishSinghKrishSingh 

Verifying first character of Phone field

I am integrating skype in salesforce and I want to make sure that each phone number is starting with "+". Is there any way to get this without using Apex?

 

Thank You

Krish

Best Answer chosen by Admin (Salesforce Developers) 
Ankit AroraAnkit Arora

You can do this by validation rule

 

 

LEFT(Phone, 1) <> "+"

 

 

Hope this will help.

 

 

Thanks
Ankit Arora

 

All Answers

Ankit AroraAnkit Arora

You can do this by validation rule

 

 

LEFT(Phone, 1) <> "+"

 

 

Hope this will help.

 

 

Thanks
Ankit Arora

 

This was selected as the best answer
KrishSinghKrishSingh

Thank you Ankit_Arora, that helped me. Just wondering if I can get some good help over validations?

Ankit AroraAnkit Arora
KrishSinghKrishSingh

Thank you so much Ankit_Arora, this is really a good link. Also want help from you if you have ever done skype integration with salesforce?

Ankit AroraAnkit Arora

Sure I would love to help you, just create another thread as this is not the right place to discuss this. "Apex Code Development" section is the best place where you can post your thread, so everyone can help you.

 

 

Thanks
Ankit Arora

 

KrishSinghKrishSingh

Ok I will start another thread in Apex section, thank you for all your help.