Skip to main content
Participant
January 29, 2014
Answered

Can I conditionally make an attachment required based on another field's input?

  • January 29, 2014
  • 6 replies
  • 4416 views

I have an attachment field on a PDF that I need to conditionally require based on another field's input value. Can this be done?

The document is always signed via an embedded widget and is created via an API call that sends in the PDF bytes.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer SiemDe

yes this can be done using EchoSign text tags.

I assume the trigger field is a checkbox called cb1 and when checked will show the attachment field.

The tag for the attachment field wil look like this:

{{*nameoffieldhere_es_:signer1:attachment:label("labelhere"):showif(cb1=checked)}}

If you are using Acrobat form fields use the above tag as the name of of the field, but without the {{ }}

6 replies

SiemDeCorrect answer
Participant
January 31, 2014

yes this can be done using EchoSign text tags.

I assume the trigger field is a checkbox called cb1 and when checked will show the attachment field.

The tag for the attachment field wil look like this:

{{*nameoffieldhere_es_:signer1:attachment:label("labelhere"):showif(cb1=checked)}}

If you are using Acrobat form fields use the above tag as the name of of the field, but without the {{ }}

CVR-KyleAuthor
Participant
January 31, 2014

Awesome, thank you. Trying this out now! I'll come back and mark this as the answer if it works--I'm betting it will!

Legend
January 31, 2014

Hi Kyle, i didn't intend to answer your query using my forum test user!

I was n't quite sure if you need an attachment field at all times and based on a condition make it a required field (that's what the *) in the tag does btw)

or if you simply need a required attchment field based on the condition. My answer above assume the former, so the checkbox will turn on and off the attachment field as a whole, and when it's turned on it's required.