Field Setting to make input required
Monday, September 18, 2023 at 03:15pmHi there. I'm trying to make a textfield required. I see that I can do this when I'm about to send a transaction (see screenshot).
Is there a parameter I can include in the textfield in my document so that this field is already set to required?
When I looked at the texttag parameters I do not see one: https://community.onespan.com/documentation/onespan-sign/guides/feature-guides/developer/text-tag-extraction
I'm using a simple textfield for testing.
{{esl:Signer1:textfield:size(40,15),Maxlen(3)}}
I would expect that there should be some kind of parameter like this
{{esl:Signer1:textfield:size(40,15),Maxlen(3),required(true)}}
Reply to: Field Setting to make input required
Monday, September 18, 2023 at 03:46pmHi Dan,
Thanks for your post!
The third character of the text tags can be used to indicate if the field is required. There are two available options, question mark (?) or an asterisk (*). An asterisk indicates that an Input Field is required. A question mark indicates that an Input Field is optional. See below:
{{esl*:Signer1:textfield:size(40,15),Maxlen(3)}}
Duo
Reply to: Field Setting to make input required
Tuesday, September 19, 2023 at 01:11pmThank you!
Reply to: Field Setting to make input required
Tuesday, September 19, 2023 at 02:09pmHi Duo,
We are using Salesforce to generate the transaction, when i added in the * to the tag, I received this error. It works without the *.
13:22:39:620 FATAL_ERROR CongaDocument.CongaDocumentException: {"messageKey":"error.validation.texttag.missingRequiredInformation","parameters":{"tag":"{{esl*:marketexpert:textfield:offset(-70,-10),size(75,20)}}"},"message":"{{esl*:marketexpert:textfield:offset(-70,-10),size(75,20)}}: Missing Role Name and/or Field Type.","code":400,"name":"Validation Error"}
Any sense on what could be causing this?
Thanks
Reply to: Field Setting to make input required
Tuesday, September 19, 2023 at 02:19pmHI Dan,
Could you try {{*esl:marketexpert:textfield:offset(-70,-10),size(75,20)}}? (* before esl)
Duo
Reply to: Field Setting to make input required
Wednesday, September 20, 2023 at 10:41amThat was it! Thank you!
Reply to: Field Setting to make input required
Tuesday, August 27, 2024 at 08:10amGreat advice on setting fields as required! For those who are also working on academic writing, an essay editing service UK can be a great resource to refine and polish your essays, ensuring they are professionally presented and error-free.