I'm having trouble getting my loop to work. High-level, I'm trying to ask customers to fill out their preferences if the preference field is blank, and if not blank, display what was selected. Easy, right? Not for me!
Here's my script as it is now:
%%[IF SUB_ID == "" THEN]%% I see that you didn't pick any categories. If you want to add some categories please <a href="">click here</a>. %%[ELSE SET @Interests = AttributeValue("SUB_ID") SET @InterestRows = BuildRowSetFromString(@Interests,",") VAR @limit, SET @limit = RowCount(@InterestRows) FOR @i = 1 TO @limit SET @Interest = Row(@InterestRows,@i) SET @IntCat = Field(@Interest,1) ]%% I see you like %%=v(@IntCat)=%% %%[NEXT @i]%% %%[ENDIF]%%
I'm stumped. Li'l help?!!?