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.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the week! You only have until tomorrow, May 23, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.
Community Poll: What sort of content would you like to see more of?

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 2 ((Apr-Jun 2024) )

This Week's Leaders

This Month's Leaders

All Time Leaders