Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 234 | Rev 240 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 234 Rev 235
Línea 755... Línea 755...
755
                                if (objFormGenerator.sections[i].questions[j].type == 'multiple' && numberCorrect == 1) {
755
                                if (objFormGenerator.sections[i].questions[j].type == 'multiple' && numberCorrect == 1) {
756
                                    $.fn.showError('ERROR_OPTIONS_ONE_CORRECT'.replace('%s', objFormGenerator.sections[i].name).replace('%n', questionNumber));
756
                                    $.fn.showError('ERROR_OPTIONS_ONE_CORRECT'.replace('%s', objFormGenerator.sections[i].name).replace('%n', questionNumber));
757
                                    return false;
757
                                    return false;
758
                                }
758
                                }
759
                            }
759
                            }
760
 
-
 
761
                            console.log(totalOption)
-
 
762
                            console.log(valueQuestion);
-
 
763
                            if (objFormGenerator.sections[i].questions[j].type == 'multiple' && totalOption != valueQuestion) {
760
                            if (objFormGenerator.sections[i].questions[j].type == 'multiple' && totalOption != valueQuestion) {
764
                                $.fn.showError('ERROR_OPTIONS_SUM_VALUES'.replace('%s', objFormGenerator.sections[i].name).replace('%n', questionNumber));
761
                                $.fn.showError('ERROR_OPTIONS_SUM_VALUES'.replace('%s', objFormGenerator.sections[i].name).replace('%n', questionNumber));
765
                                return false;
762
                                return false;
766
                            }
763
                            }
767
                            if (objFormGenerator.sections[i].questions[j].type == 'rating-open' && maxOption > valueQuestion) {
764
                            if (objFormGenerator.sections[i].questions[j].type == 'rating-open' && maxOption > valueQuestion) {