I found the error!

In the JavaScript of the Form

// app/views/users/addusername.thtml
<script type="text/javascript">
function checkForm()
{
        new Ajax.Updater('dummy', 'ajaxCheckForm', {evalScripts: true});
}

function updateField()
{
        new Ajax.Updater('username', 'ajaxValidateUsername', {parameters:
Form.Element.serialize('input_username')});
}

I have to use the Function without the path /users/ .



On 15 Mrz., 16:11, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> i found this Tutorial:
>
> http://209.85.135.104/search?q=cache:wiki.cakephp.org/faq:how_do_i_va...
>
> for Form validation with Ajax in cakePHP. The Site works gut but when
> I click the submit button, an error message appears in the dummy div.
> Messeage ist that an Page can not be found on this site.
>
> Can anyone help me plz ?
>
> Oli


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to