用户的注册表单,有2种表单
当用户单击用户注册表单的提交按钮时,我想启用OTP输入字段并重新发送第二个表单(用户OTP表单)的OTP链接。
Submit button of user-details-form
<button class="submit-btn" type="submit" [disabled]="!userSignupForm.valid"> Submit </button>
OTP Input field of OTP User form <input matInput placeholder="otp" formControlName="otp" required >
OTP button link of OTP User
<a [routerLink]="" (click)="resendUserOTP()" >Resend OTP</a>
Attachments area