One condition, two print sections. One works one does not

Hi - I am going nuts here. I have one condition set to class =“ROR_N”. I have two print sections. One is for English and one is for Spanish. I literally copied the html from the English page to the Spanish page. My condition is working on the English page but will not work on the Spanish page. The data is the exact same. The only different is the header is in Spanish. Does anyone have any idea why? Its a very simple condition -

if (record.fields.SHOWROR == “N” || record.fields.YTDROR == “n/a”) {
results.attr(“data-conditional”, “”);
results.hide();
} else {
results.show();
}

Thank you

Can you share an anonymized package so we can check it?
Or send it to me in private chat?

I am not sure I did this the right way but here is a very scaled down package. Let me know if you need anything else. Thank you !!!

New folder.zip (403.6 KB)

Hello @ahaddad ,

Found the issue. Didn’t even knew it was an option but it seems you can decide which script are enabled on specific section.

Right click on your script folder EN_Page_1 ad tick the SP_Page_1 too. This will enable each script from that folder to the section SP_Page_1.

1 Like

Ahhhhh Thank you so much! :smiley: