Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

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

Community Beginner ,
Jan 29, 2014 Jan 29, 2014

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.

4.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jan 31, 2014 Jan 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 {{ }}

Translate
Community Beginner ,
Jan 31, 2014 Jan 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 {{ }}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2014 Jan 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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 31, 2014 Jan 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2014 Jan 31, 2014

This is currently what I need.

If i wanted to conditionally make the field required, but have it always showing would I simply remove the asterisk and change the :showif to something like :requireif? Is there a document that shows the available tag name functions such as :showif?

Thank you for your help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 31, 2014 Jan 31, 2014

Unfortunatelty there's no such condition. Conditions either hide a field or show it.

So we can't sovle this using a single field.

You need 2 versions of the field, a required field and a non-required field

non-required: {{nameoffieldhere01_es_:signer1:attachment:label("labelhere"):hideif(cb 1=checked)}}

required: {{*nameoffieldhere02_es_:signer1:attachment:label("labelhere"):showif(cb 1=checked)}}

So the non-required version will be shown, until the checkbox has been ticked. when selecting the check box the nonrequired field will hide and the required version will show.

If you browse the support documentation you'll find a link to text tags, butattached  a pdf to this post as well.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 03, 2014 Feb 03, 2014
LATEST

Thanks! This is very helpful.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines