GROUPQUESTIONDESCRIPTIONMANDATORY : AADHAVAN

This commit is contained in:
aadhavan valli 2024-02-16 14:57:00 +05:30
parent 6cdf19d212
commit 86427dbb3f
3 changed files with 10 additions and 7 deletions

View File

@ -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);
}

View File

@ -1 +1 @@
{"AppSetting":["WorkArea,SubTitle,MathCheckbox,TextQuestionButton,MCQQuestionButton"]}
{"AppSetting":["WorkArea,MathCheckbox,TextQuestionButton,MCQQuestionButton"]}

View File

@ -1 +1 @@
{"AppSetting":[""]}
{"AppSetting":["SubTitle"]}