RE: [Shale] Re: Javascript validator

2005-05-26 Thread Mariano Petrakovsky
ailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 25 de Mayo de 2005 01:55 Para: user@struts.apache.org Asunto: [Shale] Re: Javascript validator > I have a JSP like this: > > - > > > > > value=&quo

[Shale] Re: Javascript validator

2005-05-24 Thread Manfred Klug
> I have a JSP like this: > > - > > > > > value="#{sizeTableHandler.currentconfig}" required="true" > size="10"> > > server="false" client="true" /> > > > > > >

[Shale] Javascript validator

2005-05-23 Thread Mariano Petrakovsky
I have a JSP like this: -

javascript validator

2005-02-23 Thread Sng Wee Jim
Hi, Does anyone know of a validator for Javascript. Something along the line of html validator at http://validator.w3.org/ - Jim The information in this email is confidential and is intended solely for the addres

RE: Dots in form names creates problems with Javascript Validator function names

2004-09-01 Thread Amit Kumar Sharma
s problems with Javascript Validator function names Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-around to this issue ? e.g. FormName: employer.search JS generated: =

Re: Dots in form names creates problems with Javascript Validator function names

2004-08-31 Thread Richard Yee
I believe that a period is not allowed in an identifier. You should pick another name for your form. -Richard At 09:59 PM 8/31/2004, you wrote: Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-

Dots in form names creates problems with Javascript Validator function names

2004-08-31 Thread Kunal Parikh
Hi! I have some forms with dots in their names. The problem is that the JS validation code being generated is not quite right Is there a resolution/work-around to this issue ? e.g. FormName: employer.search JS generated: = function employer.search_required () { ...

Re: Accessing index properties in javascript validator

2004-07-23 Thread atta-ur rehman
Thanks Mark. I can see this is definitely better way of doing it! ATTA On Fri, 23 Jul 2004 11:40:18 +0200, Mark Lowe <[EMAIL PROTECTED]> wrote: > Similarly but more compatible with older browsers. > > total = ${fn:length(theForm.properties)}; > form = document.forms["theForm"]; > for(i = 0;i < t

RE: Accessing index properties in javascript validator

2004-07-23 Thread tiwari.rajeev
javascript validator Similarly but more compatible with older browsers. total = ${fn:length(theForm.properties)}; form = document.forms["theForm"]; for(i = 0;i < total;i++) { target = "property["+ i +"]"; element = form.elements[target]; alert

Re: Accessing index properties in javascript validator

2004-07-23 Thread Mark Lowe
Similarly but more compatible with older browsers. total = ${fn:length(theForm.properties)}; form = document.forms["theForm"]; for(i = 0;i < total;i++) { target = "property["+ i +"]"; element = form.elements[target]; alert(element.name +"="+ element.value); } Mark On 23 Jul

Re: Accessing index properties in javascript validator

2004-07-22 Thread atta-ur rehman
hello, this is how i've done it: textbox = document.getElementById("block[0]"); if (textbox.value ) so basically you use document.getElementById("property[0]") to get the reference of html elment and then use .value or any other stuff on this element. hope this helps! ATTA On Thu, 22 J

Accessing index properties in javascript validator

2004-07-22 Thread Ding Lei
Hi list, Some JSP pages uses Strut's indexed properties, like: And it could be accessed by the corresponding Action correctly through a customized Form. The problem is that I would like to add javascript validation before the user submits the form to check if the file box is not null & valid