Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{ form.media }} placement requirement #26

Closed
cbirchby opened this issue Jun 16, 2022 · 1 comment
Closed

{{ form.media }} placement requirement #26

cbirchby opened this issue Jun 16, 2022 · 1 comment

Comments

@cbirchby
Copy link

It should be noted that the requirement for placement of {{ form.media }} must be added to the end of your template file and not at the beginning as indicated in the docs. This ensures you JS is loaded after the form. So, place {{ form.media }} after your form or at the tail end of the template file. If you do not place it in the correct location, your signature box will not appear.

@SebCorbin
Copy link
Collaborator

I'm suprised this isn't working for you as $(document).ready(function() {}) is used and thus the placement of script won't affect the initialisation of the widget.

@SebCorbin SebCorbin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants