When importing the sample Style Example with HTML Navigation from https://hclwiki.atlassian.net/wiki/spaces/HDV/pages/552566834/Building+Apps+with+Style and previewing the form I get the above error whenever I tried to click on any of the navigation menu. These are the code that run on the onClick event of that menu
var home = document.getElementById('home');
home.addEventListener("click", function (event) {
page.F_HomeSection.setVisible(true);
page.F_ChoiceASection.setVisible(false);
page.F_ChoiceBSection.setVisible(false);
page.F_ChoiceCSection.setVisible(false);
})
var choiceA = document.getElementById('choiceA');
choiceA.addEventListener("click", function (event) {
page.F_HomeSection.setVisible(false);
page.F_ChoiceASection.setVisible(true);
page.F_ChoiceBSection.setVisible(false);
page.F_ChoiceCSection.setVisible(false);
})
var choiceB = document.getElementById('choiceB');
choiceB.addEventListener("click", function (event) {
page.F_HomeSection.setVisible(false);
page.F_ChoiceASection.setVisible(false);
page.F_ChoiceBSection.setVisible(true);
page.F_ChoiceCSection.setVisible(false);
})
var reviewSubmit = document.getElementById('reviewSubmit');
reviewSubmit.addEventListener("click", function (event) {
page.F_HomeSection.setVisible(false);
page.F_ChoiceASection.setVisible(false);
page.F_ChoiceBSection.setVisible(false);
page.F_ChoiceCSection.setVisible(true);
})
Since I have not change anything on the example, is there any global setting that I must enable for this to work ?
Tinus Riyanto - Prisma Global Solusi