• Welcome to the upgraded JDELIST forum and thank you for your patience.
    Please restrict discussions and issues regarding the new forum software to the Off Topic forum. We will be monitoring that forum for issues.
    If you have trouble logging in, please reset your password using the forgotten password form: https://www.jdelist.com/community/index.php?lost-password/
    If you are unable to successfully reset your password, please contact us: Click here!
    We hope that you enjoy the upgraded forum.
  • Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Conditional Sections

johndanter

Member
Hi Guys,

I'm creating an invoice template over the F03B11 and have a wish for a few conditional sections.

I've created 2 so far:
EXRATE to show exchange rate
IBAN to show banking info

I then use the <?call:IBAN?> to display it

Does anyone know how I can get the template to condition my call to IBAN if no banking info exists?

I've been tinkering with Insert conditional region but it seems to fall over

Any help please?
 
This can be done. You can use choose statement instead.
<?choose:?>
<?when:(ChequeField!='')!=’’?>
Print Value
<?end when?><?otherwise:?>
Print Value
<?end choose?>
 
Top