Opened 10 years ago
Closed 10 years ago
#13231 closed Bug (invalid)
PDF output
Reported by: | Gerard Nolan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi all - first posting here.
We are creating online forms for medical data and we frequently examine the format and layout as a pdf file which works fine. However, the layout of the form seems to dramatically change as soon as data is inputted. Has anyone seen this before?
Thanks for all replies.
Change History (3)
comment:2 Changed 10 years ago by
Thanks for the reply! Sorry I should have specified - we are creating the form in CKEditor and checking the pdf to make sure the layout and format is ok. When we test it by inputting data it messes up the whole thing (data gets saved twice, inputted data is not properly aligned to questions, questions get squashed together etc)
Thanks
comment:3 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
When we test it by inputting data it messes up the whole thing
I assume that you test input on already submitted page as you can't do it inside the editor.
If that is the case then please review your server-side code as this isn't CKEditor fault. CKEditor is JavaScript application and has no impact on server-side.
As I have mentioned before - if you use certain styles in editor then it is important that these styles are same for editor and page for which HTML was created (HTML page and should use same CSS files).
@gerard43 I'm closing this issue as invalid but if there is anything i have misunderstood, please let me know.
Are you pasting form from PDF into CKEditor or you create form in CKEditor and then create PDF out of it.
In first case there might be no information about styling passed to browser so the result is what it is. In second case, perhaps the styling for the form is not taken into account by PDF generator(any external CSS that is used with CKEditor, should also be available for the PDF generator as CSS is not submitted together with HTML).