problem with uploadbutton in ops3.5.1

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

problem with uploadbutton in ops3.5.1

Laxmi Narayana-3
Hi,
I am using upload button in ops3.5.1.
if i have not entered anything in upload button(manually) i have to show error message.howw can i provide that validation in ops.
 
 
Thanks in advance,
Laxminarayana Yadavalli.


--
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
Reply | Threaded
Open this post in threaded view
|

Re: problem with uploadbutton in ops3.5.1

Erik Bruchez
Administrator
You can do this with a bind, for example:

In the model:

<xforms:bind nodeset="my-upload-element" constraint=". != ''"/>

Your control:

<xforms:upload ref="my-upload-element">
   ...

-Erik

On Mar 18, 2008, at 4:34 AM, Laxmi Narayana wrote:

> Hi,
> I am using upload button in ops3.5.1.
> if i have not entered anything in upload button(manually) i have to  
> show error message.howw can i provide that validation in ops.
>
>
> Thanks in advance,
> Laxminarayana Yadavalli.
>
> --
> 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
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws