GROUPQUESTIONDESCRIPTIONMANDATORY : AADHAVAN
This commit is contained in:
parent
6cdf19d212
commit
86427dbb3f
13
addform.html
13
addform.html
@ -4789,10 +4789,12 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) {
|
||||
}
|
||||
else if(newVariableWithoutNumbers == "subSectionDescriptionWorkarea_"){
|
||||
var subSectionDescription = document.getElementById(IdToRemove).querySelector('p').innerHTML;
|
||||
console.log(subSectionDescription != '<br>');
|
||||
if(subSectionDescription != '<br>' ){
|
||||
attrId= subSectionDescription;
|
||||
}
|
||||
attrId= subSectionDescription
|
||||
// console.log(subSectionDescription == '<br>');
|
||||
// if(subSectionDescription !== '<br>' ){
|
||||
// attrId= subSectionDescription;
|
||||
// // attrId ='';
|
||||
// }
|
||||
}
|
||||
else{
|
||||
const previousElement = input_text_value.previousElementSibling;
|
||||
@ -4863,7 +4865,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) {
|
||||
collect_Empty_Question_Id(newArrayString);
|
||||
}
|
||||
}
|
||||
else if(attrId === '' || attrId == '<p><br></p>' || attrId === '<p><br></p>') {
|
||||
else if(attrId === '' || attrId == '<p><br></p>' || attrId === '<p><br></p>' || attrId === '<br>') {
|
||||
|
||||
// alert('3')
|
||||
// console.log('check empty question : ', attrId);
|
||||
@ -4871,6 +4873,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) {
|
||||
var newArray = parsedArray.push(IdToRemove);
|
||||
}
|
||||
const newArrayString = JSON.stringify(parsedArray);
|
||||
// console.log(newArrayString);
|
||||
collect_Empty_Question_Id(newArrayString);
|
||||
}
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
{"AppSetting":["WorkArea,SubTitle,MathCheckbox,TextQuestionButton,MCQQuestionButton"]}
|
||||
{"AppSetting":["WorkArea,MathCheckbox,TextQuestionButton,MCQQuestionButton"]}
|
||||
@ -1 +1 @@
|
||||
{"AppSetting":[""]}
|
||||
{"AppSetting":["SubTitle"]}
|
||||
Loading…
Reference in New Issue
Block a user