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

wicked_pdf gem does not execute formBuilder rendering function #868

Open
jedi-032 opened this issue Nov 26, 2019 · 0 comments
Open

wicked_pdf gem does not execute formBuilder rendering function #868

jedi-032 opened this issue Nov 26, 2019 · 0 comments

Comments

@jedi-032
Copy link

jedi-032 commented Nov 26, 2019

Issue description

I'm trying to implement a PDF version of my forms which are created via the plugin jQuery formBuilder v2.1.2.

However, wicked_pdf does not recognize the formBuilder function: $('#fillable-form').formRender(formRenderOpts);

It returns the error TypeError: 'undefined' is not a function (I used this code snippet to debug javascript via console logs).

Please see my Stack Overflow question for more details.

Expected or desired behavior

The form should be rendered out upon generating the PDF but it does not recognize the .formRender() function of formBuilder.

I tried debugging and .formRender() works well in plain HTML format.

System specifications

Ubuntu 18.04
wicked_pdf version: 1.4.0
wkhtmltopdf version: 0.12.5
whtmltopdf provider gem: https://rubygems.org/gems/wkhtmltopdf-binary/versions/0.12.5

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

1 participant