Form Runner: default PDF

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Runner: default PDF

PeterW
I have set up a simple form using the FormBuilder, and when running the form I selected the PDF output.  Every field in the PDF has "Missing or incorrect value" alongside it.  Why is this?  How can I get rid of this inappropriate error message (all the fields are correctly populated, as far as I can see)

Many thanks

Peter
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

Erik Bruchez
Administrator
Peter,

That should not happen.

Please provide:

- version of Orbeon Forms
- screenshot
- if possible, can you send me your form (privately if needed)

-Erik

On Mon, Jun 18, 2012 at 2:27 AM, PeterW <[hidden email]> wrote:

> I have set up a simple form using the FormBuilder, and when running the form
> I selected the PDF output.  Every field in the PDF has "Missing or incorrect
> value" alongside it.  Why is this?  How can I get rid of this inappropriate
> error message (all the fields are correctly populated, as far as I can see)
>
> Many thanks
>
> Peter
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Runner-default-PDF-tp4655282.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

PeterW
Erik

Orbeon Forms 3.9.0.201105152046 CE



I will send you a copy of the XForm

Cheers

Peter
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

PeterW
In reply to this post by Erik Bruchez
... additionally, it seems to take a particularly long time (seconds) to generate the pdf - longer than I would have imagined for such a simple transform.  Could there be unsatisfied elements and timeout occurring?
P
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner: default PDF

Erik Bruchez
Administrator
On the PDF time, good question! I don't think we have ever profiled
PDF generation. That would be something good to do.

-Erik

On Tue, Jun 19, 2012 at 6:30 AM, PeterW <[hidden email]> wrote:

> ... additionally, it seems to take a particularly long time (seconds) to
> generate the pdf - longer than I would have imagined for such a simple
> transform.  Could there be unsatisfied elements and timeout occurring?
> P
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Runner-default-PDF-tp4655282p4655307.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Runner: default PDF

PeterW
... and any thoughts about the content?

P
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Form Runner: default PDF

Erik Bruchez
Administrator
Peter,

I had a couple of days off and haven't had time to looks at this yet.
I hope to get to this soon.

-Erik

On Fri, Jun 22, 2012 at 11:58 PM, PeterW <[hidden email]> wrote:

> ... and any thoughts about the content?
>
> P
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Runner-default-PDF-tp4655282p4655339.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

Lyle Sidor
In reply to this post by PeterW
Based on the poor formatting of the PDF (no spaces between the field label, field contents, and field error message), I'm guessing that you messed with the CSS and have broken the formatting of the error messages so that they are displayed by default instead of hidden by default when in print (PDF) mode.
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

PeterW
Lyle, thanks for the suggestion, but actually it is just a vanilla install in which  I created an XForm using the FormBuilder and then added by hand an http call, the population of fields based on the result, and an event [entry of a constraint-valid entry] that triggers the http call.

Do you  have any further thoughts on what it might be?
Reply | Threaded
Open this post in threaded view
|

Re: Form Runner: default PDF

Lyle Sidor
Hmm, not sure.

So, your fields are populated by an http call, and when you look at the data via the Form Runner details page it all looks good? And you then press the Form Runner PDF button and it generates this poorly formatted PDF?

What happens if you create a new default form with Form Builder, publish it, and press the PDF button? Same poor formatting? Invalid or missing data message for the one field?
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Form Runner: default PDF

PeterW
In reply to this post by Erik Bruchez
Erik

The problem is a generic one.  I just set up the xhtml-to-pdf demo and the output PDF is:

Loading...$xforms-template-label$$xforms-template-label$ First name:
Homer
Last name:
Simpson