Login  Register

Re: Is there a simple way to check if all components in an <fr:section> are relevant

Posted by Erik Bruchez on Mar 09, 2011; 5:11am
URL: https://discuss.orbeon.com/Form-runner-in-a-seperate-deployment-architecture-tp3339244p3342796.html

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