Problem with PDF templates

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

Problem with PDF templates

vicaed
This post was updated on .
Hello, I have decided to edit my question to try make it more clear. I have an orbeon form with radio buttons and one dropdown menu (only with 2 options) and a PDF template  only with check box's. My goal is fill up the corresponding check box depending of the option that users choice in radio buttons and in the dropdown menu. To do it I am following the orbeon documentation: https://doc.orbeon.com/form-builder/pdf-templates.html.  It works fine with the radion button controls but not with the dropdown menu. I am using Orbeon 2017.2.
It is normal this behavior?
some idea about how to solve this problem?.
--
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 orbeon+unsubscribe@googlegroups.com.
To post to this group, send email to orbeon@googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with PDF templates

Alessandro  Vernet
Administrator
So you're saying that you'd like to fill a checkbox in a PDF template based
on the value the user selects in a dropdown in the form, the dropdown having
2 choices? Is that correct?

If so, have you named the field in the PDF `my-section$my-field` with export
value `true`, and in Form Builder, in the Edit Choices dialog, set the
values for the 2 items to be `true` and `false`?

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: Problem with PDF templates

vicaed
This post was updated on .
Hi Alex, thanks for your reply. Yes this is that i want to do, but i have in
my PDF template two check boxs, depending of the selected value in  the
dropdown one of the check box's will remaind empty and the other will be
fill up with a mark.
I tried that you wrote, but it does not work. That is working for me is if I
replaced the dropdown for a radiobutton control.
Then in orbeon forms, in edit choices I set the values '1' and '2' for the
first  and second ítem of the radiobutton.
In the PDF where I have 2 check box's (one will remain empty and the other
one will be fill with a mark), I named both the same of course followiing
the convention my-section$my-field, and in the export value I set the values
'1' and '2' for the first and second check box in the same way that I do in
orbeon forms with the radio button's. Then it Works great. The problem come
if in orbeon form I use a dropdown instead a radio button.

Some other suggestion?

--
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 orbeon+unsubscribe@googlegroups.com.
To post to this group, send email to orbeon@googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with PDF templates

Alessandro  Vernet
Administrator
Hi,

First, I apologize for the delay! I'm looking at the code, and indeed, this
won't work with a dropdown, while it should. I've fixed the issue and it
will be included in 2018.1. If you're using Orbeon Forms PE and need a fix
earlier, just let me know and we'll figure this out.

https://github.com/orbeon/orbeon-forms/issues/3461

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: Problem with PDF templates

vicaed
Hi Alex, thanks for fix the issue. We are using Orbeon Forms PE in fact one
of my collegues reported the issue in the other forum, I will let him know
your answer and if we need a fix earlier we will let you know. Then we can
close this thread here.

Vicente

--
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: Problem with PDF templates

Alessandro  Vernet
Administrator
Got it Vicente, and I will also follow-up in an instant with a private email
about this.

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