Laxminarayana,
On Sat, Mar 15, 2008 at 12:43 AM, Laxmi Narayana <
[hidden email]> wrote:
> i am using ops3.5.1. I need to display tooltip for upload button if the url
> size is morethan30 charcters only.
> how it is in xforms plz help me.
> my upload code is like this .
> <xforms:upload ref="instance('main-instance')/file">
> <xforms:filename ref="@filename">asdasd</xforms:filename>
> <xforms:mediatype ref="@mediatype"/>
> <xxforms:size ref="@size"/>
> </xforms:upload>
You means: if the file name has more than 30 character; right? You can
do this with an <xforms:bind constraint="30 >
string-length(instance('main-instance')/file/@filename)"/> and have an
<xforms:alert> on the upload control telling users what the problem
is. But maybe it would be even better to provide a way for users to
rename the file after it has been uploaded. Other users will have to
rename the file locally and upload it again.
Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/Personal Blog:
http://avernet.blogspot.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