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.