Forum Discussion
Multiple Selection in Multiple Categories & Table Results
Hi,
I have made progress on the project. I feel like I am not far away. I would appreciate it if you could take a look at my files to see what still needs to be adjusted.
- For now, I set 2 categories: When and ByWhom
- In the When category, I have 7 checkboxes
- In the ByWhom category, I have 9 checkboxes
- I set True/False variables for each checkbox
- On the Submit button, I attached a JS to generate an HTML table:
console.log("Bouton Submit : Appel de genererTableau...");
genererTableau();
The table should contain with 1 line per checked criterion. The table should also contain several columns of information to display for the selected criterion.
In the SL project, I also inserted a WebObject pointing to the mon_tableau folder containing these files : index.html, script.js and style.css files + images files (.jpg)
And after publication, I add the mon_tableau folder in the main publication folder (at the same level as in story.html)
I’m almost there except that my table display all variables, not only the ones that are at True.
I would be very grateful if you could have a look at my files and let me know if there is something to adjust in order to display in the table only information related to checked boxes.
Thank you !
Related Content
- 11 months ago
- 6 months ago
- 6 months ago