-
sarveshshukla075Asked on May 9, 2025 at 2:03 AM
Hi Support,
I know how to add custom CSS to the form, but I now need to add custom JavaScript as well. Could you please guide me on where or how I can add custom JS to the form?
Looking forward to your help.
Thank you,
Sarvesh
-
Raymond JotForm SupportReplied on May 9, 2025 at 2:44 AM
Hi Sarvesh,
Thanks for reaching out to Jotform Support. I understand you'd like to add custom JavaScript to your form. Unfortunately, it's not possible to add custom scripts to your form inside form builder security and stability reasons.
However, if you have a website and is using the classic layout form, you can download your form's source code, embed your JavaScript in it before embedded the codes to your website. Let me know how to download your form's source code:
- In Form Builder, click on the Publish tab on the orange navigation bar at the top.
- Next, click Embed on the left side panel.
- Select Source code on the list, and click on the Download Source code button.
We also have a guide on How to Get the Full Source Code of Your Form that you can check out.
Reach out again if you need any help.
Your Answer
Something Went Wrong
An error occurred while generating the AI response. Please try again!