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 / com
www.crowdersoftware.com


On Mar 3, 2:05 pm, Ahijah <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to