all. This is an Ampscript/SFMC inquiry below.
I am trying to solve for adding a hyperlink to an IF EMPTY statement and have it render outside. You can see the bold start a chapter identified below is where I am stuck.
I want to link to "...start a chapter" within the @ChapterName IF EMPTY statement and link it to the @ChapterLink link.
Has something like this been done before? Rendering a hyperlink from an IF EMPTY value?
%%[/* Define and set variables for Chapter subscribers */VAR @SubscriberKey SET @SubscriberKey = AttributeValue("SubscriberKey")/*Lookup Contact Chapter Info*/VAR @ChapterNameSET @ChapterName = Lookup("Membership_Welcome_DE","Name","SubscriberKey",@SubscriberKey)VAR @ChapterLinkSET @ChapterLink = AttributeValue("ChapterLink")SET @ChapterLink = "https://www.google.com/"IF EMPTY(@ChapterName) THENSET @ChapterName = "If there is no chapter near you, **start a chapter**."ENDIF]%%%%=v(@ChapterName)=%%<br>