ymethot

Field entering sequence

0 votes
Simple scenario: Document with two fields. First field is the Signature (capture) and second field is the Title that must be entered by the signatory. If I want the title to be displayed below the Signature BUT want the user to first enter its title, is there a way to do it? Right now, first thing i'll be ask is to sign and since this is the only signature on the document, i already have the option to submit. Subtmitting right away will cause an error because I didn't enter my Title. How to force the user to first enter its title?

Reply to: Field entering sequence

0 votes
In your simple scenario, you can use field validation to force your signer to enter his title before signing. Below is a sample code on how you would build your field object with validation. The Required() method forces the signer to enter text in the text field before signing.
FieldBuilder title = FieldBuilder.TextField()
                .AtPosition(400, 100)
                .WithValidation(FieldValidatorBuilder.Basic()
                        .Required());
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off