IF ENDIF does not work- Any Ideas?

IF ENDIF does not work- Any Ideas?

See the attached

screenshot

Solved Solved
0 5 290
1 ACCEPTED SOLUTION

Itโ€™s a Google DOC

I got to the bottom of it. There is a glitch in the AppSheet expression parser.

After the ENDIF there was another IF expression on the next page. Once I put a blank paragraph after the ENDIF it all worked!

After further investigation, it was not just the page break causing the issue. It was just the fact that the an IF followed an ENDIF without a paragraph in between.

This does not work

ENDIF
IF โ€ฆ

This does

ENDIF

IF โ€ฆ

View solution in original post

5 REPLIES 5

Steve
Platinum 4
Platinum 4

In what way doesnโ€™t it work?

Hi Marc,

What is the template written in? Is it a Google doc?

If so, export it as HTML and take a look at the exported HTML file.
Make sure the <EndIf> is in a <P> or <H> HTML element.

Itโ€™s a Google DOC

I got to the bottom of it. There is a glitch in the AppSheet expression parser.

After the ENDIF there was another IF expression on the next page. Once I put a blank paragraph after the ENDIF it all worked!

After further investigation, it was not just the page break causing the issue. It was just the fact that the an IF followed an ENDIF without a paragraph in between.

This does not work

ENDIF
IF โ€ฆ

This does

ENDIF

IF โ€ฆ

I face the same problemโ€ฆ But did not correctโ€ฆIf this is the solution, thanks in advanceโ€ฆ

Top Labels in this Space