Skip to main content
deleted 78 characters in body
Source Link

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%
    %%=ContentBlockbyID('37122')=%% 
%%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% 
    %%=ContentBlockbyID('38793')=%% 
%%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%%%[ELSE]%% 
    %%=ContentBlockbyID('37123')=%%
%%[ENDIF]%%

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%
    %%=ContentBlockbyID('37122')=%% 
%%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% 
    %%=ContentBlockbyID('38793')=%% 
%%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% 
    %%=ContentBlockbyID('37123')=%%
%%[ENDIF]%%

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%
    %%=ContentBlockbyID('37122')=%% 
%%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% 
    %%=ContentBlockbyID('38793')=%% 
%%[ELSE]%% 
    %%=ContentBlockbyID('37123')=%%
%%[ENDIF]%%
formatted code
Source Link

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% %%=ContentBlockbyID('37122')=%% %%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% %%=ContentBlockbyID('38793')=%% %%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% %%=ContentBlockbyID('37123')=%% %%[ENDIF]%%

Thanks in advance for any help!

Marsha

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%
    %%=ContentBlockbyID('37122')=%% 
%%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% 
    %%=ContentBlockbyID('38793')=%% 
%%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% 
    %%=ContentBlockbyID('37123')=%%
%%[ENDIF]%%

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% %%=ContentBlockbyID('37122')=%% %%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% %%=ContentBlockbyID('38793')=%% %%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% %%=ContentBlockbyID('37123')=%% %%[ENDIF]%%

Thanks in advance for any help!

Marsha

I am having issues using greater than and less than in an IF statement, for some reason the statement keeps getting truncated, it's like they system is seeing this as an HTML tag even though it is in brackets.

Has anyone has this issue?

%%[IF @curGPA > '2.24' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%%
    %%=ContentBlockbyID('37122')=%% 
%%[ELSEIF ( @Grade == 'D' OR @Grade == 'F' ) THEN]%% 
    %%=ContentBlockbyID('38793')=%% 
%%[ELSE @curGPA < '2.25' AND ( @Grade == 'A' OR @Grade == 'B' OR @Grade == 'C' ) THEN]%% 
    %%=ContentBlockbyID('37123')=%%
%%[ENDIF]%%
Source Link
Loading