Hello and good everyone,
I'm using SHOW SECTION_START to filter between styles on a custom query inside a form.
Here is the code
<div class="course-wrapper">
<<IF UserModule.ValueTest = 'Yes' THEN SHOW SECTION_START>>
<a href="#/" onclick="AwareApp.startProcess2('ModuleViewTrainee','UserModule',{ID},'new_tab')"><div class="course-name">{sc_Name}</div></a>
<a href="#/" onclick="AwareApp.startProcess2('ModuleViewTrainee','UserModule',{ID},'new_tab')"><div class="course-image">{sc_Image}</div></a>
<a href="#/" onclick="AwareApp.startProcess2('ModuleViewTrainee','UserModule',{ID},'new_tab')">
<div class="course-content">
<div class="course-description">НЭВТРЭХ</div>
</div>
</a>
<<SECTION_END>>
<<IF UserModule.ValueTest = 'No' THEN SHOW SECTION_START>>
<div class="course-name">{sc_Name}</div>
<div class="course-image2">{sc_Image}</div>
<div class="course-content">
<div class="course-description">{sc_EffectiveDate}</div>
</div>
<<SECTION_END>>
</div>
I can't seem to make it do what I want, the results are always empty, nothing shows up,
Is there something wrong with the code, is it syntax error, it got me stumped, I would really appreciate it if you can have a look and tell me what I did wrong.
Thanks for your time 🙂.