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

Validator JS does not show up in the web form yet shows up in Preview

Community Beginner ,
Jun 08, 2019 Jun 08, 2019

Copy link to clipboard

Copied

All my JSs are working when I check them in preview mode yet, when I export from the acrobat DC to a PDF and then ship it to the web form:

https://api.na2.echosign.com/api/rest/v5/widgets/

It appears that the validator scripts that are going from then acrobat environment does not make it out to the web widget.

ex: If X is clicked then Y is now required

JS: event.target.required = getField("present").valueAsString === "yes";

This validation never happens after I have uploaded it to the widget.  When the radio button is pressed it is supposed to force them.

How can I make sure that the scripts migrate and function in the web form?

Screen shots attached. Thanks in advance for helping!

Preview inside of DC before entering value into Field 1 (First Name)

Acrobat Pro DC Preview (no text entered).png

Preview inside of DC after entering value into Field 1 = all  subsequent fields become required(First Name)

Acrobat Pro DC Preview text in Field 1 makes all others required.png

Web form does not put red * in fields, they are not required. Script did not move over.WebForm Field 1 has data subsequent files not required.png

TOPICS
Acrobat SDK and JavaScript

Views

242

Translate

Translate

Report

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 Expert ,
Jun 08, 2019 Jun 08, 2019

Copy link to clipboard

Copied

May be that Adobe Sign doesn't support this.

Votes

Translate

Translate

Report

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 ,
Jun 09, 2019 Jun 09, 2019

Copy link to clipboard

Copied

LATEST

I should have put that in my question as I thought the same thing and double checked before posting. Per AdobeSign support they do support it as long as it is webform and not being emailed. "The EchoSign Widget will convert any code into Javascript so that the widget can then be embedded into a web site " Javascript and EchoSign

Votes

Translate

Translate

Report

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