Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Getting Started with Supplemental Questions

Supplemental questions are optional, extra questions that colleges can configure to display at the end of the CCCApply Standard Application and the Noncredit Application.

Supplemental questions are written in XML and validated with XSD. You can create one or more sets of supplemental questions to be added to either your college's CCCApply Standard Application and/or the Noncredit Application. Only one supplemental question set can be active/display at a time. The Configuring Application Supplemental Questions section of the CCCApply Administrator User Guide provides details on importing, updating, and downloading your Supplemental Question XML files.

If you want supplemental questions to display for both the CCCApply Standard application and for the Noncredit application, you must import an XML file for each application.

Note: The Noncredit application is a workflow and subset of the CCCApply Standard applications questions that skips the residency check and military status for students who are only taking noncredit courses. See the Noncredit Application section of the CCCApply Standard & Noncredit Application Data Dictionary for more details.


When you have your XML file ready, you import your XML supplemental questions in the CCCApply Administrator and then activate and deactivate question set(s) as you wish.

Understanding Active And Not Active Question Sets

After you have uploaded a set of supplemental questions, there are three factors that determine whether that set will show up in your college's student application:

  • The Status (Active or Non Active)

  • The Effective Date

  • The Status and Effective Dates of other question sets you have previously uploaded

If you marked a previously-uploaded set of supplemental questions as Not Active in the Administrator, that set will not show up on your college's application, regardless of any other factors. Similarly, a future-dated set of supplemental questions will not display until the future date becomes the present date, regardless of other factors. If you have only a single set of questions, then marking it Active and setting the effective date to today or earlier will cause that set to show up in your college's application.

Multiple supplemental question sets require some management. For example, if your supplemental question sets have different effective dates, the set with the most recent Effective Date (that is not in the future) takes precedence over any others. If you have multiple supplemental question sets with the same effective date, then the set with the lowest Page ID number will take precedence.

Consider the following example that shows questions that have been imported into the Supplemental Questions module in the CCCApply Administrator application. If today were March 8, 2016, the questions with Page ID 9 would show up on your college's CCCApply Standard student application. Page ID 10 would not show up, because although it is marked Active and has the latest effective date, that date would be in the future (assuming March 8, 2016 as an example). When the date became April 25, 2016 Page ID 10 would take precedence and the questions on Page ID 9 would no longer display on the application.

If Page ID 9 and Page ID 10 had the exact same Effective Date, then Page ID 9 would take precedence as the set with the lowest Page ID number is used in this scenario.

Note: If you have used supplemental questions in the past, you may notice that the <SupplementalQuestions> element contains an EffectiveDate attribute.

This attribute has no effect on your supplemental questions. The system simply ignores it.

Note: When you upload a set of questions, there is a potential 25-minute delay before they appear on the student application. In the live environment, you won't notice this delay, as you will have uploaded your questions well in advance. But it will be noticeable during your testing phase in your Pilot environment. After you upload your test questions, wait 25 minutes before attempting to see them on your student application.

Working with XML

Although working with computer languages can be daunting, you don't need to be an expert to create supplemental questions for your college's student application, and you don't need any sophisticated tools. A simple text editor and a rudimentary understanding of XML hierarchy will be helpful.

If you are comfortable writing computer software, you can of course use the tools that best suit you. Otherwise, create your XML files using your operating system's built-in text editor. On Windows, the text editor is called Notepad, and on OSX, it is called TextEdit.

Note: These applications can work with file formats other than plain text. Be sure to save your files in plain text format.

Important: Unless you have experience working with text editors and XML, do not use XMLNotepad to edit your files. It adds extra characters to the beginning of the file that will prevent your XML from uploading. If you do have experience in this area, use XMLNotepad to edit your XML (to take advantage of the schema), then use a plain text editor or some other suitable tool to remove the extra characters (the BOM) before uploading.

Most of the contents of your XML file will depend on the questions you want to ask and the responses you expect to receive. For details on creating questions and guiding the student through the application process see Supplemental Questions: Layout And User Experience and Supplemental Questions: Response Elements.

Setting up Your XML File

  1. Copy and paste the example starter XML file structure below into your XML editor before you begin creating questions. This text will serve as your XML base and you can use it over and over again for each new

supplemental question XML file set.

?xml version ="1.0" encoding="UTF-8"?>

<SupplementalQuestions xmlns:xsi="http://xmlns.cccnext.org/apply"

 CollegeId="nnn" CollegeName="My College" ApplicationType="Either Credit or Noncredit">

</SupplementalQuestions>

2. Set CollegeId to your college's three-digit MIS code. If you are creating questions for multiple colleges in a district, then indicate the MIS codes of all of the applicable colleges, separated by commas.

3. Set CollegeName to the name of your college. You will define your questions by inserting XML code in the blank space in the above example.

For example:

<?xml version ="1.0" encoding="UTF-8"?>

<SupplementalQuestions xmlns:xsi="http://xmlns.cccnext.org/apply" CollegeId="611" CollegeName="Allan Hancock College"

 ApplicationType="Noncredit">

 <Header>Tell us more about yourself!</Header>

 <Section>

 <YesNo id="1">

 <Label>While attending classes, do you intend to work more than 40 hours per week?</Label>

 </YesNo>

 </Section>

</SupplementalQuestions>

Important: The example above is a complete and legal definition of a supplemental questions page. However, you will need to:

  • Replace the CollegeId and CollegeName values with those of your own college

  • Set the ApplicationType attribute to either "Standard" for the CCCApply Standard application or "Noncredit" for the Noncredit application.

Important: It is very important that your uploaded XML file be error-free. If there are errors in your supplemental questions XML file, you will likely see an error message in the Administrator when you attempt to upload it.

It is strongly recommended that before uploading, you validate your XML with a free, online validator tool such as http://www.xmlvalidation.com/ . This site allows you to copy and paste your XML for syntax

checking. After you paste your XML and click validate, the site will ask you to copy and paste a second file. In industry jargon, the file it is requesting is called a schema. You can copy the schema from here and paste it into the validator. The validator then tells you if there are problems with your XML. Although the error messages may still be somewhat intimidating, this particular validator will at least show you in a friendly way where the error is in your XML.

Supplemental Questions: Layout And User Experience

For supplemental questions, there are a number of elements available that relate to the layout of the application and the applicant's user experience, as opposed to managing the raw data of the applicant's responses. This section provides detailed information about the layout-related elements with example pairs of XML and the resulting display in the application.

These elements fit into two groups:

  • Layout Elements: Header, Indent, and Section; and

  • Prompt Elements: Label, HoverHelp, and Translations.

Additionally, there are several attributes available for response elements that relate to guiding the student through the application process. These are the default, required, and title attributes. The following descriptions and examples show how to use these items.

Layout Elements: <Header>, <Indent>, and <Section>

The <Header> element creates a heading for the whole page, as well as for any sections you define for the page.

The <Indent> element offsets portions of the page for readability or hierarchical display.

The <Section> element groups other elements visually on the page. See the examples below for details.

User Prompt Elements: <Label>,<HoverHelp>, and <Translations>

Both <Label> and <HoverHelp> are used only as child elements of the response elements. The <Label> element can be thought of as the question being asked for a response element, while the <HoverHelp> element can be used to provide further explanatory text when the applicant clicks the Help icon next to the related input field.

Multiple <HoverHelp> children are allowed, one for each language your student application supports. The optional <Translations> element allows you to specify English or Spanish language (internationalize) for your questions.

You must include at least two <Locale> elements, one with a <lang> attribute of "es" and one without, as well as a message block.

Adding the following XML to your starter XML from the previous section will create:

  • A page header

  • Two sections of check boxes, each section with its own header

  • Two check boxes indented to the right from those above and below

  • One check box with hover help in both English and Spanish

<Header>Tell us more about yourself!</Header>

<Section>

 <Header>Are you interested in any of the following extracurricular activities? Check all that apply.</Header>

 <Checkbox id="1"><Label>Chess club</Label></Checkbox>

 <Checkbox id="2"><Label>Athletic sports</Label></Checkbox>

 <Indent>

 <Checkbox id="3"><Label>As a participant</Label></Checkbox>

 <Checkbox id="4">

 <Label>As an observer</Label>

 <HoverHelp lang="en">Check this box if you enjoy watching sporting events</HoverHelp>

 <HoverHelp lang="es">Marque si te gusta ver los eventos deportivos</HoverHelp>

 </Checkbox>

 </Indent>

 <Checkbox id="5"><Label>Online gaming</Label></Checkbox>

 <Checkbox id="6"><Label>Martial arts</Label></Checkbox>

</Section>

<Section>

 <Header>Check all that apply to your employment status:</Header>

 <Checkbox id="7"><Label>Overworked</Label></Checkbox>

 <Checkbox id="8"><Label>Underpaid</Label></Checkbox>

</Section>

The application will use the <HoverHelp> tag that applies to the currently-selected language. Only English (lang"=e"n) and Spanish (lang"=e"s, for Español) are supported. The hover help appear when the applicant hovers the mouse over the check box. This hover help from the example above will appear when the page is in English mode:

<HoverHelp lang="en">Check this box if you enjoy watching sporting events</HoverHelp>

This hover help from the example above will appear when the page is in Spanish mode:

<HoverHelp lang="es">Marque si te gusta ver los eventos deportivos</HoverHelp>

Warning: You must specify a language (using the lang attribute as in the examples above) for your hover help, or your Supplemental Questions tab will fail, and the applicant will see an error message rather than your supplemental questions.

Internationalization: The Optional <Translations> Element

If your college does not care to internationalize the supplemental questions no action is needed. If your college has already provided both an English and a Spanish version of supplemental questions manually in the XML, you can continue to leave your XML code as is and both language versions of the question(s) will continue to display.

However, if you implement the internationalization approach below, the supplemental questions will conditionally display in either English or Spanish, based on the end-user's browser language setting.

To internationalize the supplemental questions:

  • Add the optional <Translations> element.

  • Within the <Translations> element, add at least two <Locale> elements, one without any "lang" attribute and one with a lang attribute of "es".

  • Add <Message> element blocks for each code into both of the <Locale> elements.

  • Each <Message> element must have a <code> and <message> attribute with values.

  • The <code> attribute value must match the question's <Label> value.

For example, for the two <Label> elements and three <label> attributes below:

 <Header>main.header</Header>

 <Section>

 <Header>section.1.header</Header>

 <Text maxLength="50" default="" id="1">

 <Label>question.name</Label>

 <HoverHelp lang="en">Enter your full name</HoverHelp>

 <HoverHelp lang="es">Ingrese su nombre completo</HoverHelp>

 </Text>

 <Menu id="1">

 <Label>question.color</Label>

 <MenuItem value="1" label="question.color.1"/>

 <MenuItem value="2" label="question.color.2"/>

 <MenuItem value="3" label="question.color.3"/>

 </Menu>

 </Section>

...each has a corresponding <Message code="" message=""/> in the <Translations> element's <Locale> element; the first in English and the second in Spanish:

<Translations>

 <Locale>

 <Message code="main.header" message="Here are some questions"/>

 <Message code="section.1.header" message="Knowledge (en and es)"/>

 <Message code="여행지 추천 설문지 | where to go " message="What is your name?"/>

 <Message code="question.color" message="What is your favorite color?"/>

 <Message code="question.color.1" message="Red"/>

 <Message code="question.color.2" message="Blue"/>

 <Message code="question.color.3" message="Yellow"/>

 </Locale>

 <Locale lang="es">

 <Message code="main.header" message="Aquí hay algunas preguntas." />

 <Message code="section.1.header" message="Conocimiento"/>

 <Message code="여행지 추천 설문지 | where to go " message="¿Cuál es su nombre?"/>

 <Message code="question.color" message="¿Cuál es su color favorito?" />

 <Message code="question.color.1" message="Rojo" />

 <Message code="question.color.2" message="Azul" />

 <Message code="question.color.3" message="Amarillo" />

 </Locale>

 </Translations>


Response Element: The Default Attribute

Depending on your specific circumstances, you can allow the applicant to ignore a given question, or you can require the applicant to provide a response. If you allow a question to be ignored, the system will store a system-default value for the question. The legal default values depend on the response element you specified. When you add a default attribute to a response element, the system auto-answers the question with the default value you specify. When the page appears, the question displays as already answered:

<Section>

 <Header>Examples with the "default" attribute:</Header>

 <Checkbox id="29" default="checked"><Label>I would like to be contacted concerning financial aid.</Label></Checkbox>

 <Text id="20" default="Mozart"><Label>Name a few of your favorite composers:</Label></Text>

</Section>

The following table shows the legal defaults for each response element.

Response Element

Element Legal Default

Checkbox

"checked" or "unchecked"

CountryList

Any of the two-character country codes in the Data Dictionary (Standard or International) Date See note below.

Menu

The contents of the value attribute in any of the <MenuItem> elements you create for the menu. See The <Menu> Element for details.

PhoneNumber

StatesList

Any of the two-character state codes in the Data Dictionary for the application (Standard or International).

Text

Any free-form text less than the maximum length of 250 characters, or less than the maximum you set using the maxLength attribute.

YesNo

"yes" or "no"

Note: It is recommended that you do not set a default for a <Date> element, as it will malfunction on the student application page.

Note: Because a response is automatically filled in when you set a default, setting required"=tru"e will have no effect. The applicant can simply ignore the question, in which case the default you have supplied will be stored in the database when the student submits the application.

Response Element: The required Attribute

The required attribute allows you to require that the applicant respond to selected response elements, or to groups of response elements. To require responses to all the elements in a section, use required"=tru"e in the <Section> element.

For an example, see the discussion of the title attribute below. To require responses to an individual element, use required"=tru"e in that element.

The following is an example of a <CountryList> element that requires the applicant to select a country:

<CountryList id="3" required="true" title="Your country of birth">

 <Label>Select the country in which you were born.</Label>

</CountryList>

The system will not allow the applicant to continue the application process if no country is selected. Instead, an error message will be displayed:

Note: The title attribute allows you to customize the error message somewhat, to make it easier for the applicant to understand the nature of the error. It is best to supply a title for every response node; see The title Attribute for details.

Note: For <Checkbox> elements, required"=tru"e means that the applicant must mark the check box. This applies to <Checkbox> elements within a <Section> that has required"=tru"e, as well as individual <Checkbox> elements that have required"=tru"e. This might be useful for requiring the applicant to read the application carefully or agree to some specific terms:

<Checkbox id="11" required="true" title="Your agreement to the contract">

 <Label>I agree to the terms and conditions of the contract.</Label>

</Checkbox>











  • No labels