"SURVEY_QUESTION": "Question:",
"SURVEY_ID": "Survey ID # ${0}",
"SURVEY_FOOT_LABEL": "Questions & Answers",
+ "SURVEY_WARN_TEXT": "No questions can be modified or added at this time. The survey Start Date must be set for the future to add new questions or modify existing questions.",
"EVENT_DEF_LABEL" : "${0}: ${1}",
"ACQ_DISTRIB_FORMULA_NAME_PROMPT" : "Enter new formula name",
"ACQ_DISTRIB_FORMULA_NAME_CLONE" : "${0} (Clone)",
var surveyFoot = dojo.create('tfoot', { id: "survey_foot"}, surveyTable);
var footRow = dojo.create('tr', {id: "foot_row"}, surveyFoot);
var footLabel = dojo.create('td', {id: "foot_label", innerHTML: "<h3>"+localeStrings.SURVEY_FOOT_LABEL+"</h3>"}, footRow);
- var footCell = dojo.create('td', {innerHTML: "<hr>", id: "foot_cell"}, footRow);
+ if (startDate <= today) {
+ var warnRow = dojo.create('tr', {id: "warn_row"}, surveyFoot);
+ var warnText = dojo.create('td', {id: "warn_text", style: "padding: 5px", innerHTML: localeStrings.SURVEY_WARN_TEXT}, warnRow);
+ }
+ var footRule = dojo.create('tr', {id:"foot_rule"}, surveyFoot);
+ var footCell = dojo.create('td', {innerHTML: "<hr>", id: "foot_cell"}, footRule);
getQuestions(svyId, survey);
}