Difference between revisions 220464 and 220469 on testwiki

//<languages/>
/*  Co-op - create and expand idea form wizard configuration file  */
var formsGadgetConfig = {
    "create": {
        "config":{
            "post-edit": "Thank you for creating your idea! Visit the toolkit page (linked below the infobox) to expand your idea further.",
            "new-page": true,
            "namespace": "Wikipedia",
            "portal-page": "Co-op",
            "page-template": "",
            "infobox": "Co-op_profile_member",
            "talkpage-template": "",
            "page-home": "Wikipedia:Co-op",
            "dialog-title": "Let's create your profile!",
            "toolkit-name": "",
            "toolkit-template": "",
            "error-not-logged-in": "Not logged in.",
           "edit-comment-prefix": "Creating a new member profile ",
           "edit-comment-suffix": " (edited with FormWizard)",
            },
        "step-1":{
            "introText": {
                "type": "text",
                "string": "Don't worry about getting all your answers perfect in this form, you can add and make changes to your profile after creating your first draft!",
                },
            "memberUserNnameTextbox": {
                "type": "smallTextBox",
                "placeholder": "example: Jtmorgan",
                "title": "What is your username?",
                "characterLength":100,
                "mandatory":true,
                "add-to": "infobox",
                "infobox-param":"username",
                "validate": "doesNotExists",
                "page-title":true,
                },
            "memberNameTextbox": {
                "type": "smallTextBox",
                "placeholder": "example: J-Mo",
                "title": "What would you like to be called?",
                "characterLength":100,
                "mandatory": true,
                "add-to": "infobox",
                "infobox-param":"name",
                },
            "memberAboutTextbox": {
                "type": "largeTextBox",
                "placeholder": "",
                "title": "Say something about yourself",
                "characterLength":300,
                "mandatory": true,
                "add-to": "infobox",
                "infobox-param":"about",
                },
            "interestDropdown": {
                "type": "dropdownList",
                "title": "What are you interested in learning?",
                "placeholder": "select...",
                "text-1": "Please select what you're interested in?",
                "characterLength":100,
                "mandatory": true,
                "add-to": "infobox",
                "infobox-param":"interest",
                "values": ["writing", "communication","best practices", "technical editing", "other",],
                },   
            "nextButton":{
                "type":"doneButton",
                "title":"Create my idea",
                },
            "cancelButton":{
                "type": "cancelButton",
                "title":"Cancel",
                },
            },
        },
    "expand": {},
};