Add scripts to a form/a workflow

  • riteman
    Asked on November 29, 2022 at 8:37 AM
    ..and is it possible to add scripts to a form/a workflow?
  • Kris JotForm Support
    Replied on November 29, 2022 at 8:59 AM

    Hello Lars,

    Thank you for waiting, we appreciate it. Can you share with us the purpose of the scripts and why you want to add them to the form and approval flow? Do you want users to be directed to another website? Or do you want to customize the appearance of the form?

    Here are the following guides that might help you with your question:

    How to Inject Custom CSS Codes

    How to Inject CSS Codes to Widgets

    Customize Your Form Using Custom CSS Codes

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better? 

    Let us know if there’s anything else we can do for you.

  • riteman
    Replied on November 29, 2022 at 3:14 PM

    Hi Kris

    scripts would be used to create field content based on other fields where this is not possible using simple concatenation and IF statements, fetch/dump data from/to external systems like CRM, ERP or PIM systems, transferring data from one workflow to another etc - other solutions have javascript integrated to do so.

  • Kris JotForm Support
    Replied on November 29, 2022 at 4:51 PM

    Hi Lars,

    Thanks for getting back to Jotform Support and for providing additional information. If that's the case, this is not directly on Jotform, but if you embed your form on a website with the Source Code option, you can add JavaScript for it on their website.

    Reach out again if you have any other questions.

  • riteman
    Replied on November 29, 2022 at 5:29 PM

    Thanks for the answer!