Posted by
Ramon de Beijer-2 on
Mar 09, 2011; 7:45am
URL: https://discuss.orbeon.com/Form-runner-in-a-seperate-deployment-architecture-tp3339244p3342958.html
Hi Erik,
Its party answer to my question, but as you already assumed its not
the complete answer for me.
I have attached an example form i made with Form Builder, which has
2 sections 'section_personal' and 'section_extra'
i want 'section_extra' only to become visible if all fields in
'section_personal' are valid,
so i mean filled in and filled in correctly, so fields like 'first
name' and 'last name' are mandatory and the field 'servicenumber'
is not only mandatory but should also match the 11-test (a test used
in the Netherlands to check Citizen Service Number for taxes and
that kinda things)
And only then i want to show the 'section_extra'. Can that be done
in a simple way?
Perhaps u could fill in the way you would do it for this very
example
regards Ramon
On 03/09/2011 06:11 AM, Erik Bruchez wrote:
Ramon,
If you want every field of section 1 non-empty, you could use
an expression like this for the visibility of section 2:
not(exists(/*/section-1/*[not(normalize-space())]))
assuming "section-1" is the id of the first section.
Now in your question you mention relevance, which is not the
same as "filled in", so I don't know if I answered on topic.
-Erik
On Tue, Mar 8, 2011 at 4:43 AM, Ramon
de Beijer
<[hidden email]>
wrote:
Is there a simple way to check if all components in an
<fr:section> are relevant
the case is I want section 2 only to become visible if
section 1 is totally filled in.
Regards Ramon
--
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