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

Best trigger/event to activate a script given a change in a form field value

Participant ,
Dec 19, 2022 Dec 19, 2022

Copy link to clipboard

Copied

I am trying to determine the best trigger or event to use provided on an interactive PDF form to place a script that gets acrivated given a change in value assigned to a text form field by an end user. Your response/suggestions to this post are appreciated. Thank you ahead of time. 

TOPICS
How to , JavaScript , PDF forms

Views

134

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 ,
Dec 19, 2022 Dec 19, 2022

Copy link to clipboard

Copied

It depends on what script is for.

If it depends on that field value you can use validation, but is hard to say without seeing the script.

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
Participant ,
Dec 20, 2022 Dec 20, 2022

Copy link to clipboard

Copied

In response to 'It depends on what the script is for.'. Understood but that does not answer the question. For example, I was looking more for what may constitute using the 'on blur' event as opposed to a custom validation script when trying to make this determination. Surely there are certain factors, variables to consider regarding the script used to determine which trigger, event, etc. may be more suitable to place a particular script.  

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
Participant ,
Dec 20, 2022 Dec 20, 2022

Copy link to clipboard

Copied

Sorry but for clarification I should have initially posted that I was interested in what criteria may be used in determining whether to place a script in say the 'onBlur' event or use a custom validation script instead. While it's understood it depends on the script, I believe the script needs to meet certain criteria in deciding which trigger or event may be most appropriate.   

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
Participant ,
Dec 20, 2022 Dec 20, 2022

Copy link to clipboard

Copied

LATEST

Resolved. No need to answer.

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