Thanks!  Worked like a charm!

On Mar 4, 7:48 am, green <greenlaw...@gmail.com> wrote:
> hi I use livevalidation, it validates while u r typing in the inputs. It
> could be used in ur case by having something like the following codes in the
> output of ur contact.php:
>
> <script type="text/javascript">
> r = new LiveValidation('age');
> r.add(Validate.Numericality, {minimum: 0, maximum:140});
> </script>
>
>
>
> On Thu, Mar 4, 2010 at 10:31 AM, Ahijah <darren.gr...@gmail.com> wrote:
> > Thanks for the tip.  Not a lot of support for the TMT validator, so
> > I'm researching alternatives.  Gave jsvalidate a try, but had the same
> > results.  Probably has something to do with scripts expecting
> > window.load (Based on input from others).  Any recommendations for
> > another validation toolkit that folks have used with dynamic content
> > loaded from ajax.updater?
>
> > On Mar 3, 4:05 pm, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> > > Hi,
>
> > > I think you're best off asking this question in a TMT support forum.
> > > My suspicion (I've never used it) is that it looks through the DOM
> > > when it loads for elements with tmt:xyz attributes and attaches itself
> > > to them, but it doesn't do that when an element is created by adding
> > > it after loading. I expect they probably provide a way to register an
> > > element (or entire subtree) after-the-fact, but that you have to do it
> > > explicitly. But again, I've never used it, perhaps there's something
> > > else going on.
>
> > > FWIW,
> > > --
> > > T.J. Crowder
> > > Independent Software Consultant
> > > tj / crowder software / comwww.crowdersoftware.com
>
> > > On Mar 3, 2:05 pm, Ahijah <darren.gr...@gmail.com> wrote:
>
> > > > Here is the basic setup:
>
> > > > index.php which loads prototype and the TMT validator javascript
> > > > source files:
>
> > > > <script src="resources/prototype.js" language="JavaScript" type="text/
> > > > javascript"></script>
> > > > <script language="JavaScript" type="text/javascript" src="resources/
> > > > tmt_core.js"></script>
> > > > <script language="JavaScript" type="text/javascript" src="resources/
> > > > tmt_form.js"></script>
> > > > <script language="JavaScript" type="text/javascript" src="resources/
> > > > tmt_validator.js"></script>
>
> > > > From within index.php I am calling:
>
> > > > <a href="contact.php" onclick="new
> > > > Ajax.Updater('dynContent','contact.php',{method:'get',
> > > > asynchronous:true, evalScripts:true}); return false;">Contact</a>
>
> > > > Within contact.php I am output a table with a form embedded.  That
> > > > form uses the tmt validation like so:
>
> > > > <form action="sendcontact.php" method="POST" tmt:validate="true">
>
> > > > However, when submitting the form, the TMT validation is not
> > > > executing.  I'm assuming that for whatever reason, the tmt:validate is
> > > > not being recognized.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Prototype & script.aculo.us" group.
> > To post to this group, send email to
> > prototype-scriptacul...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculou 
> > s%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/prototype-scriptaculous?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to