Skip to main content
Hello,

 

I have a field in Salesforce called "Enviornment" where a user goes to put a link. This field is then synched with another platform. However, there is an issue when the user puts a https:// in front of the link, it causes a disconnect with the other third party system. Is there some kind of validation or something like that either deletes the https:// if a user puts it or won't allow them to save the record if they do? Any thoughts or suggestions are welcomed. Thanks as always!
2 answers
  1. Nov 11, 2020, 3:51 PM
    You can certainly create a Validation Rule here to not allow the value of this field to start with http. 

     

    The BEGINS function would be a good fit here - BEGINS(FIELD_NAME__c, 'https') for example in a validation rule should work. Don't forget to try it in a sandbox first!
0/9000