FavoriteHarshal Khadke (InspireXT Consulting Ltd) asked in #FormulasJun 1, 2021, 12:46 PMCan we use if condition on button?Hello,There are 2 visualforce links for that I have created one check box if the checkbox is true I want to open the first link and if it is false then I want to open the second link.Concert__c.c__c = CheckboxFollowing is the formula that I have created for the button. I have checked both the URL's they work fine but still, I am getting "No syntax errors in merge fields or functions" but there is the error that says "Enter a URL that is valid and well-formed"IF( Concert__c.c__c = TRUE, 'https://premiumlearnings72-dev-ed--c.visualforce.com/apex/Concert?core.apexpages.request.devconsole=1', 'https://premiumlearnings72-dev-ed--c.visualforce.com/apex/Concert10?core.apexpages.request.devconsole=1') 2 answersSortSort by DateSort by Most HelpfulSort by DateLoad more comments...Developer Forums User (Inactive) (Salesforce Developer Forums)Jun 5, 2021, 7:05 AMNice article to see a good one. https://www.liteblue.in/ is USPS postal website used by USA postal service employees.Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Developer Forums User (Inactive) (Salesforce Developer Forums)Jun 5, 2021, 7:05 AMNice article to see a good one. https://www.liteblue.in/ is USPS postal website used by USA postal service employees.