Register
Submit a solution
The challenge is finished.

Challenge Overview

1. ��Cleanup the SurveyMobileController: �� this class has some legacy dependencies that are no longer needed. �� Please copy this class and append your cloudspokes id to the end of the class name. �� ��Run through this and take out anything that is not needed.

2. ��Copy SurveyMobileKI.page to SurveyMobileYOURUSERNAME.page like you did for the controller. ��It is very ugly to customize this page so we would like to explore some templates like mustache or some other equivalent. ��Please use the consolidate.js libraries so we can experiment with different templates.

3. ��Comments: �� add a field called comments__c to the QwikScore_Question_Answer__c.object and in your SurveyMobileYOURUSERNAME.page add the ability to add comments for each question-answer. ��Do not display a comment text area for each selection on the page. �� Either hide the div by default and add an icon that will allow the users to add comments then close hide the div when they are done filling out the comment.

4. ��Add a QwikScore_Question__c.Question_Type__c of boolean and make the page render a true or false radio button

5. ��Add image/file; �� if ��you are using an ��ios6 device add the functionality to upload an image from the photo gallery. ��If using a browser add the functionality to upload a file. �� The image or file should be attached to the account record.

6. ��Dependant questions: �� For this requirement add the following fields to the the Question (see ERD in github)

�� �� �� 6.1 isHidden__c ��(boolean default is false)��
�� �� ��6.2 unhideIfQuestion__c ( lookup to QwikScore_Question__c)
�� �� ��6.3 unhideQuestionValue__c (text)
��
Use the isHidden field to hide the div if the value is true, which represent a dependent question. ��For example question 4 is Question_Text ���have you ever had a pet��� and isHidden is false so the question is displayed. �� For question 5 the Question_text is ���what is your pets name��� and isHidden is true so the question is not displayed when the page is loaded. �� The value for unhideQuestion is the id of question 4, and the unhideValue = ���true���. �� So when the user select true for question 4 question 5 appears. �� Use jquery to uhide or hide the questions and answer areas.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30040080