Hi everyone!
I have sitetemplate where I use mootools AJAX call on contact page to
switch between two different contact forms (contact and offer). Form
uses phatfusion sites v1.11 validate script and it works fine with
default one but not with one imported via AJAX.
AJAX function is similar to described in v1.11 demopage:
window.addEvent('domready', function(){
$('hae').addEvent('click', function(e) {
e = new Event(e).stop();
var url = "tarjous.html";
new Ajax(url, {
method: 'get',
update: $('valmis')
})
.request();
});
});
Check out page in function: http://testi.blowback.fi/yhteys.html
How could I get validator to work in this "tarjous.html" form also?
Should I add some onComplete function to call validator or why isn't
it included in the first place since css is affected to form elements?
Any help is much appreciated!