NG Absolute Form Validator - V2.0

RequiredWithoutAll

Ensure The field under validation must be present and not empty only when all of the other specified fields are not present. The Match with fields must be define or initialized or placed before validated field.

#Directive Code Snippet
<!DOCTYPE html> 
<html lang="en"> 
    ...
    <form (ngSubmit)="onSubmit(form)" #form="ngForm">
		<input [requiredWithoutAll]="[<match_with_field>,<comma separate value>]" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
	</form>
    ...
</html>
#Chain Rule Code Snippet
<!DOCTYPE html> 
<html lang="en"> 
    ...
    <form (ngSubmit)="onSubmit(form)" #form="ngForm">
		<input [Rule]="required_without_all:<match_with_field>,<comma separate value>" type="text" name="<name>" [(ngModel)]="<name>" #<name>="ngModel">
	</form>
    ...
</html>