Top Banner
type name set form title Sample set form id sample get start time start get end time end get today today get device id deviceid get subscriber id subscriberid get sim id simid get phone number phonenumber add text prompt string add integer prompt int add decimal prompt decimal add date prompt date begin group multi_question_pag add text prompt example_text_quest add integer prompt example_integer_qu add decimal prompt example_decimal_qu end group add select multiple prompt using alphaOpt select add select one prompt using numOptions select1 add select one prompt using alphaOptions quick_advance add select one prompt using numOptions spinner add select multiple prompt using imageOpt grid add select one prompt using imageOptions grid_two_columns begin group choice_table add select one prompt using yesno choice_row_1 add select one prompt using yesno choice_row_2 add select one prompt using yesno choice_row_3 end group begin group choice_table_label add select one prompt using yesno label add select one prompt using yesno choice_row_1 add select one prompt using yesno choice_row_2 add select one prompt using yesno choice_row_3 end group add select one prompt using states autocomplete add select one prompt using states autocomplete_chars add select one prompt using yesno branch
26

Sample

Sep 14, 2015

Download

Documents

sampel
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

surveytypenamecaptionhintdefaultappearanceconstraintconstraint messagerelevancedisabledrequiredread onlycalculationcaption:englishhint:englishcaption:italianhint:italiancaption:japanesehint:japanesecaption:macedonianhint:macedonianmedia:imagemedia:audiomedia:videomedia:image:englishmedia:image:italianmedia:image:macedonianmedia:image:japaneseset form titleSampleset form idsampleget start timestartget end timeendget todaytodayget device iddeviceidget subscriber idsubscriberidget sim idsimidget phone numberphonenumberadd text promptstringstring widgetcan be very short or very longadd integer promptintinteger widgettry entering a number > 10. < 10number must be less than 10add decimal promptdecimaldecimal widgetonly numbers > 10.51 and < 18.3918.31. > 10.51 and . < 18.59number must be between 10.51 and 18.39add date promptdatedate widgetonly future dates allowed2010-06-15. > today()only future dates allowedbegin groupmulti_question_pagemultiple questions on a pagefield-listadd text promptexample_text_questionexample text questionadd integer promptexample_integer_questionexample integer questionadd decimal promptexample_decimal_questoinexample questionend groupadd select multiple prompt using alphaOptionsselectselect multiple widgetdon't pick c and d togethera cnot(selected(., 'c') and selected (., 'd'))option c and d cannot be selected togetheradd select one prompt using numOptionsselect1select one widgetscroll down to see default selection8yesadd select one prompt using alphaOptionsquick_advancequick advance select widgetclick a choice to select it and advance to the next questionquickadd select one prompt using numOptionsspinnerspinner widgetclick the button to provide a responseminimaladd select multiple prompt using imageOptionsgridgrid widgetclick an image to select it (you must have the images on your sdcard to see them)compactadd select one prompt using imageOptionsgrid_two_columnsgrid with a maximum of two columnsregardless of screen size this widget will only show two columns of imagescompact-2begin groupchoice_tablechoice tablefield-listadd select one prompt using yesnochoice_row_1question 1listadd select one prompt using yesnochoice_row_2question 2listadd select one prompt using yesnochoice_row_3question 3listend groupbegin groupchoice_table_labelchoice table with labelfield-listadd select one prompt using yesnolabeltable of answerslabeladd select one prompt using yesnochoice_row_1question 1list-nolabeladd select one prompt using yesnochoice_row_2question 2list-nolabeladd select one prompt using yesnochoice_row_3question 3list-nolabelend groupadd select one prompt using statesautocompleteautocomplete widgetstart typing a state name. any state name that contains those contiguous letters will be predictedautocompleteadd select one prompt using statesautocomplete_charsautocomplete widget with chars optionstart typing a state name. any state name that contains those letters (in no particular order) will be predicted.autocomplete-charsadd select one prompt using yesnobranchbranch widgetyes to skip languages, validator, sectionsnbegin groupsection_abegin groupsection_bsection bbegin groupsection_csection cadd text promptlanguage${branch} = "n"I speak englishmenu button to change languagescio"hello" in italian"hello" in japanese"hello" in macedonianend groupend groupend groupadd text promptregexvalidate widgetemail [email protected](., '[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}')this isn't a valid email address${branch} = "n"yesadd location promptgeopointgeopoint widgetthis will get gps locationadd barcode promptbarcodebarcode widgetscans multi-format 1d/2d barcodesadd image promptimageimage widgetthis will launch the cameraadd audio promptaudioaudio widgetthis will launch the audio recorderadd video promptvideovideo widgetadd text promptimage_mediatext widget with an imagethe image file must be on your sdcard for it to appear on the screenexample.jpgadd text promptaudio_mediatext widget with audiothe audio file must be on your sdcard for it to playexample.mp3add text promptall_mediatext widget with image, audio, and videothe files must be on your sdcardexample.jpgexample.mp3example.3gpadd text prompttranslate_mediatext widget with attached media and translationsmenu button to change languagescio"hello" in italian"hello" in japanese"hello" in macedonianenglish.jpgitalian.jpgmadeconian.jpgjapanese.jpgadd acknowledge prompttriggeracknowledge widgetneed to push buttonadd calculate promptcalculateif(${int} > '5', 'greater than five', 'less than or equal to five')add text promptdisabledthis question is disabled and will not show up in the formsee the disabled columnyesbegin looped grouprepeat_ahouseholdadd integer promptitem_inthousehold idlargest integer (9 places)123456789add text promptitem_string_ahousehold descriptionreadonly and long stringyesbegin looped grouprepeat_bchildadd text promptitem_string_bchild namethis is a really long string where you can put lots of information to prepare a user for anything you would like.begin groupsection_asection abegin groupsection_bsection bbegin groupsection_csection cadd text promptlanguage${branch} = "n"I speak englishmenu button to change languagescio"hello" in italian"hello" in japanese"hello" in macedonianend groupend groupend groupend looped groupadd decimal promptitem_decimalhousehold notesreadonly and long string1234567890.1234567890end looped group

choiceslist namenamecaptionmedia:imagealphaOptionsaoption aalphaOptionsboption balphaOptionscoption calphaOptionsdoption dnumOptions1option 1numOptions2option 2numOptions3option 3numOptions4option 4numOptions5option 5numOptions6option 6numOptions7option 7numOptions8option 8yesnoyyesyesnonnoimageOptionsc1c1c1.pngimageOptionsc2c2c2.pngimageOptionsc3c3c3.pngimageOptionsc4c4c4.pngimageOptionsc5c5c5.pngimageOptionsc6c6c6.pngstatesAlabamaAlabamastatesAlaskaAlaskastatesArizonaArizonastatesArkansasArkansasstatesCaliforniaCaliforniastatesColoradoColoradostatesConnecticutConnecticutstatesDelawareDelawarestatesFloridaFloridastatesGeorgiaGeorgiastatesHawaiiHawaiistatesIdahoIdahostatesIllinoisIllinoisstatesIndianaIndianastatesIowaIowastatesKansasKansasstatesKentuckyKentuckystatesLouisianaLouisianastatesMaineMainestatesMarylandMarylandstatesMassachusettsMassachusettsstatesMichiganMichiganstatesMinnesotaMinnesotastatesMississippiMississippistatesMissouriMissouristatesMontanaMontanastatesNebraskaNebraskastatesNevadaNevadastatesNewHampshireNew HampshirestatesNewJerseyNew JerseystatesNewMexicoNew MexicostatesNewYorkNew YorkstatesNorthCarolinaNorth CarolinastatesNorthDakotaNorth DakotastatesOhioOhiostatesOklahomaOklahomastatesOregonOregonstatesPennsylvaniaPennsylvaniastatesRhodeIslandRhode IslandstatesSouthCarolinaSouth CarolinastatesSouthDakotaSouth DakotastatesTennesseeTennesseestatesTexasTexasstatesUtahUtahstatesVermontVermontstatesVirginiaVirginiastatesWashingtonWashingtonstatesWestVirginiaWest VirginiastatesWisconsinWisconsinstatesWyomingWyoming