Re: Creating PDF from template.

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

Re: Creating PDF from template.

Alessandro  Vernet
Administrator
Hi Vicente,

Yes, this is normal right now given how the PDF generation works (for more on this, see the RFE linked below). What you could do is to have the field be "shown" when you're in PDF mode. You can do this by setting it Visibility to `fr:mode() = 'pdf'` in Form Builder. You'll let me know if this works for you.


Alex

On Wed, Jan 31, 2018 at 4:21 AM, vicaed <[hidden email]> wrote:
Hi everyone. I have an orbeon form with 3 fields for the full name (name,
surname1 and surname2) and a PDF template with only one field for the full
name (It is an official form that I can not change). My goal is concatenate
the name + surname1 + surname2 from the form and insert the result in the
full name PDF field. The only way I have found is create a hide field on the
form and using xPath fill it automatically with that users insert in the
mentioned 3 fields, then I found that hide fields donĀ“t get printed in the
generated PDF (If I set the field as visible I can print it on the PDF). It
is a normal behavior?

If it is not possible to print hide fields there is some other way to get my
goal?

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Creating PDF from template.

Alessandro  Vernet
Administrator
Hi Vicente,

Did you get a chance to try using `fr:mode() = 'pdf'`? If you did, does it
work for you?

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Creating PDF from template.

vicaed
Hi Alex, yes I did that and it Works. Thanks you!

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Creating PDF from template.

Alessandro  Vernet
Administrator
Vicente, excellent then, I'm glad it worked. -Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet