Video : Ajax Form Validation in CakePHP 1.3 using Jquery

2011-01-21 Thread Azril Nazli
Ever try to simulate $ajax->observeField() in Cake using Jquery, the following video shows you how URL : http://www.php.net.my/forum/video-cakephp-validation-jquery - the video has no audio so you need to pay attention to whatever I typed - recorded using CamStudio in AVI and later converted to F

Ajax form validation

2009-02-12 Thread faifas
Hello, I have a form that is being submitted via ajax: add.ctp form(null, 'post', array('update' => 'ajax', 'url' => array ('controller' => 'characters', 'action' => 'add')))?> input('name', array('label' => __('Character name', true)))? > end(__('Create character', true))?> form is submited fi

Re: ajax form validation

2008-05-23 Thread Keith
Hi Oli, Basically you're just looking for client side form validation. You'd want to write some kind of interpreter that would take the model-based validation from CakePHP and translate it into Javascript that would load when the form loads so that it could be triggered with "onChange()" or some

Re: ajax form validation

2008-05-22 Thread francky06l
Ajax or not does not change anything (unless you want to do something special in the form). Usually you would put your form in a "div" (in the ajax call you should set this div' id's as parameter for update), when submitting and trying to save, if it fails just render the same form. This one (with

Re: ajax form validation

2008-05-22 Thread jonknee
On May 22, 1:34 pm, Oli <[EMAIL PROTECTED]> wrote: > hey, > > can someone explain me howto validate a form using ajax? > submission works fine but ive no clue how to validate the form > correctly before saving the data > Validation occurs just the same as a normal request. I don't use the AJAX he

ajax form validation

2008-05-22 Thread Oli
hey, can someone explain me howto validate a form using ajax? submission works fine but ive no clue how to validate the form correctly before saving the data oli --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cak

Cakephp 1.2 Ajax form validation

2007-12-29 Thread Alberto Lopez Rubio
I was trying to make a form and validate with ajax like in: http://bin.cakephp.org/view/242085627 but when I have an error, the error div is updated with the content of the view of the rendered element. so it's displayed twice the form my validateField view is the form... what should be the val

Ajax form validation with 1.2

2007-09-12 Thread Dia
hi I'm looking for an example / tutorial showing how to validate forms with Ajax in CakePHP 1.2 the only thing I found is : http://bin.cakephp.org/view/242085627 does anyone has something else ? thanks --~--~-~--~~~---~--~~ You received this message because yo

Re: AJAX - Form Validation

2006-08-25 Thread Rafafa
try this: var $helpers = array('Ajax'); --~--~-~--~~~---~--~~ 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

Re: AJAX - Form Validation

2006-08-23 Thread Simplerules
I tried to include the 'Ajax' helper but it could not find it. var $components = array('Cookies', 'Logins', 'Geoip', 'RequestHandler'); var $helpers = array('AJAX'); It says You are seeing this error because the view helper file app\views\helpers\ajax.php can't be found or doesn'

AJAX - Form Validation

2006-08-23 Thread Simplerules
I am trying to use AJAX to validate a form, I have a tick box next to my register form inputs. So when a user enters a username, I want the javascript to call the script and get a response wether the username is taken. I have looked at the AJAX helper manual and can't find much to help me, I've l