Q<%=indext%>:<%=jstTitle%>
<%if("1".equals(jstIsrequire)){%>*<%}%>
<%
String sqlOption = "SELECT option_id,survey_title_id,title,is_allow from jrcms_survey_option where survey_title_id='"+surveyTitleId+"'";
ResultSet rsOption = db.executeQuery(conn,sqlOption);
%>
<%while(rsOption!=null&&rsOption.next()){
String optionId = Common.getFormatPara(rsOption.getString("option_id"));
String optionTitle = Common.getFormatPara(rsOption.getString("title"));
String is_allow=Common.getFormatPara(rsOption.getString("is_allow"));
switch(Integer.parseInt(surveyType.trim()))
{
case 1:%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%>>
<%=optionTitle%>
<%;
break;
case 2:
if(!is_allow.equals("1")){
%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%>>
<%=optionTitle%>
<%}else{%>
<%};
break;
case 3:
%>
<%
break;
}%>
<%}%>
<%if("3".equals(surveyType)){%>
<%}%>
<%if("5".equals(surveyType)){%>
datatype="*" nullmsg="<%=jstTitle%>"<%}%> name="qe_answer_text<%=indext%>" id="qe_answer_text<%=indext%>">
<%indexo=0;}%>
<%indext++;}%>