skip to Main Content

How to send dependent html form fields?

<form> <input name="checkbox" type="checkbox"></input> <input name="value" type="text"></input> <input name="checkbox" type="checkbox"></input> <input name="value" type="text"></input> ... </form> The user enters a phrase and indicates whether it is the correct answer. Is there any way to combine these into unique pairs when sending…

VIEW QUESTION

Javascript – Incorrect form validations triggered

I have formgroup which has input fields, the validations are set like this : <mat-form-field class="mat-width-98" appearance="outline"> <mat-label>Profession Occupation/ Job</mat-label> <input matInput placeholder="Profession Occupation/ Job" formControlName="occupation" (focusout)="onFocusOutEvent($event, 'occupation')" [ngClass]="isMatched('occupation') ? '' : 'input-highlight'" maxlength="{{moduleConfig.td_reg_occupation_length}}"> <mat-error *ngIf="dataEntryMainFormGroup.get('occupation').hasError('required') "> {{msgConfig.td_data_entry_required_occupation}} </mat-error> <mat-error…

VIEW QUESTION
Back To Top
Search