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_"){
|
else if(newVariableWithoutNumbers == "subSectionDescriptionWorkarea_"){
|
||||||
var subSectionDescription = document.getElementById(IdToRemove).querySelector('p').innerHTML;
|
var subSectionDescription = document.getElementById(IdToRemove).querySelector('p').innerHTML;
|
||||||
console.log(subSectionDescription != '<br>');
|
attrId= subSectionDescription
|
||||||
if(subSectionDescription != '<br>' ){
|
// console.log(subSectionDescription == '<br>');
|
||||||
attrId= subSectionDescription;
|
// if(subSectionDescription !== '<br>' ){
|
||||||
}
|
// attrId= subSectionDescription;
|
||||||
|
// // attrId ='';
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
const previousElement = input_text_value.previousElementSibling;
|
const previousElement = input_text_value.previousElementSibling;
|
||||||
@ -4863,7 +4865,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) {
|
|||||||
collect_Empty_Question_Id(newArrayString);
|
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')
|
// alert('3')
|
||||||
// console.log('check empty question : ', attrId);
|
// console.log('check empty question : ', attrId);
|
||||||
@ -4871,6 +4873,7 @@ function check_Remove_Empty_Question(IdToRemove , DeleteElement=0) {
|
|||||||
var newArray = parsedArray.push(IdToRemove);
|
var newArray = parsedArray.push(IdToRemove);
|
||||||
}
|
}
|
||||||
const newArrayString = JSON.stringify(parsedArray);
|
const newArrayString = JSON.stringify(parsedArray);
|
||||||
|
// console.log(newArrayString);
|
||||||
collect_Empty_Question_Id(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