Hello everyone. I’m glad this kind of forum still exists !
Before I begin, keep in mind that I am an explorer, allways trying things, so my code is, I guess, not well structured ^^.
So, I have a choir site, wich provide, in a restricted area, access to all song we are working with ( mp3, pdf ) . I made a database with song , it stocks informations such as links for every voice ( soprano 1, soprano 2 … ) . Sometimes , there is 2 soprano voices, sometimes not .
So for every voice, i made a boolean (f.e. is2Alto ) . I don’t know, for now, why with the boolean i had some issues, so i put a char instead and i enter “true” or “false” manually
I display my songs in a repeater.
I made this part of code the check if there is 2 soprano voice, then it will display a part of soprano stuff.
" let itemObj = $w ( “#dataset1” ). getCurrentItem ();
let TestSoprano = itemObj . is2Soprano ;
if ( TestSoprano = “true” ){ $w ( ‘#Sop2mp3’ ). show (); $w ( ‘#Sop2pdf’ ). show (); $w ( ‘#Sop2music’ ). show ();}
if ( TestSoprano = “false” ){ $w ( ‘#Sop2mp3’ ). hide (); $w ( ‘#Sop2pdf’ ). hide (); $w ( ‘#Sop2music’ ). hide ();}"
So , this i actually working on Computer version, but it’s not working on mobile.
I am wondering why If you have some clue I’ll take it , thank you :).
Julien.