« Return to Thread: Submission not occuring

Re: FW: Re: xxforms:maxlength not working inside xforms:textarea

by Erik Bruchez :: Rate this Message:

Reply to Author | View in Thread

At the moment, I don't think so.

The HTML <textarea> element doesn't support a maxlength attribute, I  
believe, so you can't. HTML 5 will likely add this attribute. Does  
anybody know if it is actually already supported in some browsers?

-Erik

On May 13, 2008, at 6:01 AM, Reddy, Gopikrishna wrote:

> Hi,
> Thanks for ur help
> Can u tell me is there any way to do this without binding the node.
>
>
> Thanks and Regards,
> K Gopikrishna Reddy
> From: Florian Schmitt [mailto:ml-ops-users@...]
> Sent: Tue 5/13/2008 1:42 PM
> To: ops-users@...
> Subject: [ops-users] Re: xxforms:maxlength not working inside  
> xforms:textarea
>
> Hi Gopikrishna
>
> > how can i keep max length for this as iam giving xxforms:maxlength  
> but it doesnt work for xforms:textarea
>
> you could try to restrict the length of the content using a binding  
> and
> xpath:
>
> constraint="string-length lt 71"
>
> Info about the xpath string-length function:
> http://www.w3.org/TR/xpath-functions/#func-string-length
>
>
> HTH
> florian
>
>
>
> This e-mail (and any attachments), is confidential and may be  
> privileged. It may be read, copied and used only
> by intended recipients. Unauthorized access to this e-mail (or  
> attachments) and disclosure or copying of its
> contents or any action taken in reliance on it is unlawful.  
> Unintended recipients must notify the sender immediately
> by e-mail/phone & delete it from their system without making any  
> copies or disclosing it to a third person.
>
> <message-footer.txt>
> --
> You receive this message as a subscriber of the ops-users@...  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?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 ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: Submission not occuring