When select drop-down value is (veryPoor Or Excellent) Then Comment is mandatory field (Validaction)
Two column each column drop-down are 7
when column value selected very poor that column textarea comment is mandatory
Code...
- class="@(count <= 1 ? "step-pane active" : "step-pane")" id="@Records" data-validation="subCommonForm(0, '@Records')">class="panel panel-primary">class="panel-heading">
class="table" id="SubScreen">
- Que.No
- Questions
- @foreach (var Records1 in Model.SubjectAndFacultyList.Where(x => x.SubjectTypePID == Records))
- {
@Records1.SubjectTitle; (@Records1.EmployeeName) - }
- "visibility: hidden">@{int srno = 0;}
- @foreach (var Questions in Model.SubjectTypeAndQuestion.Where(x => x.SubjectTypePID == Records))
- {
- srno += 1;
"@Questions.FeedBackQuestionnaireID"> @srno - @Questions.QuestionDescription
- @*"hidden" value="@Questions.FeedBackQuestionnaireID" name="FeedBackQuestionnaireID" id="FeedBackQuestionnaireID" />*@
- @foreach (var Records2 in Model.SubjectAndFacultyList.Where(x => x.SubjectTypePID == Records))
- {
- name="FeedBackRatingID" req="true" valsection="@Records" valdata="int" data-fsm-id="@Records2.FacultySubjectMappingID" class="FeedBackRatingID">
- >Select Rating
- >VeryPoor
- >Poor
- >Good
- >VeryGood
- >Excellent
- @*@Html.LookupDropDown((Dictionary
- @*@Html.DropDownValues("FeedBackRating", "FeedBackRatingID", "FeedBackRatingName")*@
- }
- }
- Comment
- @if (Model.SubjectTypeAndQuestion.Where(x => x.SubjectTypePID == Records).Count() > 0)
- {
- foreach (var Records2 in Model.SubjectAndFacultyList.Where(x => x.SubjectTypePID == Records))
- {
- name="FeedBackComment" data-fsm-id="@Records2.FacultySubjectMappingID" rows="4" maxlength="1000">
- }
- }
sharad bhadalkarPosted Jan 23, 2020, 12:16 PM
Ramachandran MPosted Jan 22, 2020, 7:39 PM