Skip survey header

sgapiHidePage

Jedi or Sith

Example Script
sgapiHidePage(3,true);
sgapiHidePage(4,true);

%%jediorsith = sgapiGetValue(2);

if (%%jediorsith == 'jedi'){
  %%pageid = '3';
} else {
  %%pageid = '4';
}

%%output .= "The script on this page determines the page to show: " . %%pageid;
    
sgapiHidePage(%%pageid,false);

Jedi or Sith

1. Are you a Jedi or a Sith *This question is required.