Le 19/12/2012 20:24, Michael Nachtigal a écrit :
I'm trying to create a form that does two (main) things: Lets the user
select one of two options, and depending on which option is selected,
certain sections of the form will appear or disappear (be hidden). I
originally tried to do this with proper form controls, but learned there
is no way to refer to form field values like variables, is this correct?
This is something I would be interested in too, but haven't got around
to trying. The only way I know of taking a value from e.g. a list or
combobox from a form element and then using that value to display or
hide another part of the document would be via macro.
So, I resorted to using variables, and now I'm just trying to consult
the value of an input list variable, but cannot figure out how to do so.
Could anyone help me with this?
Can't help you there, unless you are using one of the user variable
fields that are accessible in the document's properties.
Moreoever, in the sections to be displayed conditionally, if I wish to
include variables, those must be hidden sections or hidden paragraphs,
but not conditional text, right?
From what I understand to be possible, you can make you section
conditional on the value of a variable, there's a little tick box for
that when you create a new section. However, I've not done it or tried
it, so I'm going on the basis of a recent discussion on the French
mailing list where a similar question was asked.
For unsubscribe instructions e-mail to: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy