Skip to main content
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 = Checkbox

Following 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 answers
0/9000