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

Validator JS does not show up in the web form using esign widget

Community Beginner ,
Jun 09, 2019 Jun 09, 2019

When I use the esignwidget all my javascripts disappear even after verifying they were working in Preview.  1. I create all my forms in ProDC, validated they are working in preview. 2.  I export from the acrobat DC to a PDF and then ship it to the web form using

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

It appears that the validator scripts that are going from the 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 using the esign widget?

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 (title, birthdate, etc)

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

236
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
no replies

Have something to add?

Join the conversation