Difference between revisions of "Questionnaire save"
Cg huyphong (talk | contribs) |
|||
Line 20: | Line 20: | ||
'''Example''' | '''Example''' | ||
− | array a= Questionnaire_new("new questionnaire",34409965, 34822447,34779240,34775455);Questionnaire_save(a); | + | array a= Questionnaire_new("new questionnaire",34409965, 34822447,34779240,34775455); |
+ | |||
+ | Questionnaire_save(a); | ||
or | or | ||
− | array a= Questionnaire_getQuestionnaireByResourceId(34806989 );a[QUESTIONNAIRE_NAME] = "New name for questionnaire";Questionnaire_save(a); | + | array a= Questionnaire_getQuestionnaireByResourceId(34806989 ); |
+ | |||
+ | a[QUESTIONNAIRE_NAME] = "New name for questionnaire"; | ||
+ | |||
+ | Questionnaire_save(a); | ||
'''Availability''' | '''Availability''' |
Latest revision as of 05:47, 3 January 2012
Questionnaire_save
To save a new questionnaire or update information of an old questionnaire.
Syntax
empty Questionnaire_save(array questionnaire)
Arguments
questionnaire : the questionnaire object
Return type
None
Example
array a= Questionnaire_new("new questionnaire",34409965, 34822447,34779240,34775455);
Questionnaire_save(a);
or
array a= Questionnaire_getQuestionnaireByResourceId(34806989 );
a[QUESTIONNAIRE_NAME] = "New name for questionnaire";
Questionnaire_save(a);
Availability
Version 5.8