Re: validate = false
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/validate-false-tp32524p32525.html
Colin,
@validate does not support AVTs at the moment, in other words it must be
static, i.e. validate="false" or validate="true". I added an RFE to
enhance this:
http://forge.objectweb.org/tracker/index.php?func=detail&aid=306595&group_id=168&atid=350207-Erik
Colin Seaman wrote:
> Hi,
>
> I'm trying to dynamically set the validate="false" attribute on my
> XForms submission, but it seems I'm unable to do so.
>
> I have the code:
>
> <xforms:submission id="submit_model_Document"
> ref="instance('instance_model_Document')"
> action="{xxforms:instance('url')/serverpath}/read-xform.php?action={xxforms:instance('url')/submit/submitaction}"
> method="post" validate="{xxforms:instance('url')/validate}" />
>
> with the value of instance('url')/validate equalling "false", but it
> appears that this doesn't work.
>
> Does the fact that this value is set automatically mean that the value
> of "validate" equals true...??
>
> How can I achieve this?
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
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
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws