BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
In App.tsx I have defined the <form>, FormValidator and defined the rules.
How can I use it to validate form fields in a child component that dynamically adds fields later? I have tried, but validation doesn't work
Thank you for the update.
{this.state.show ? (
<div className="form-group">
<TextBoxComponent id="Email" name="email" placeholder="Email" blur={(this.onBlur = this.onBlur.bind(this))} />
</div>
) : null} |
onBlur() {
this.formObject.validate('email');
} |
Thanks a lot. I had the same issue. THis worked like a charm!!
Thanks a lot. I had the same issue. THis worked like a charm!!