Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz You only have until September 13, 2024, 3 PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

How to add if else conditions on PDF Templates?

edited Oct 17, 2023 1:21AM in Ask A Guru 2 comments

I have the following if statement that doesn't seem to work.

This is in the Advanced PDF/HTML and our Email form template. Note this has all if/elseif/else not just if. I think I need the extra "" inside <> based on other examples, but I'm not sure. I assume I just need closing tags somewhere, but white I tried coerced to text...

There are a lot of entries on here about if/else, but it can be different depending on where you are and I'm worried some entries might be out of date.

Could someone just post the corrected if/elseif/else script below.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders