Moving Questions to the Top of the Blue Dropdown

From Q
Jump to: navigation, search

// Working on Phone.sav, this moves the question named "Age" to the top of the Variables and Questions tab, and also the blue dropdown list.
project.dataFiles[0].moveAfter(project.dataFiles[0].getQuestionByName('Age').variables, null);

See also