Re: Dealing with forms!!!!!

2010-05-15 Thread WebbedIT
Do you have any debug tools running to see if your javascript is being loaded/executed correctly? It appears your link should work, although I'm surprised even if it does reload the page that it comes up with a proper cake page as your URL array should be array('controller'=>'users', 'action' =>

Re: Dealing with forms!!!!!

2010-05-14 Thread sherzo
hp@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group > at http://groups.google.com/group/cake-php?hl=en > > -- View this message in context: http://old.nabble.com/Dealing-with-forms%21%21%21%

Re: Dealing with forms!!!!!

2010-05-13 Thread WebbedIT
I wrote a blog post about using ModalBox which is handy if you're using Prototype: http://webbedit.co.uk/blog_posts/view/tutorial-cakephp-modalbox-crud HTH Paul. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this m

Re: Dealing with forms!!!!!

2010-05-13 Thread
data['User']['password'] == > > Security::hash(Configure::read('Security.salt') . > > $field['password_confirm'])) { > >     $valid = true; > >   } > >   return $valid; > > } > > ... > > > HTH > > > P

Re: Dealing with forms!!!!!

2010-05-13 Thread sherzo
t; } > return $valid; > } > ... > > HTH > > Paul. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP&

Re: Dealing with forms!!!!!

2010-05-13 Thread WebbedIT
Hmm, your doing all of your validation manually in the controller ... this is supposed to be done automagically by the model when you save the record. Read the following through a couple of times: http://book.cakephp.org/view/125/Data-Validation The one thing you have to watch out for is the pas

Dealing with forms!!!!!

2010-05-12 Thread sherzo
{ $invited_id = $this->getUserId($this->data['User']['username']); $this->requestAction('/bonuses/updateStatus/'.$this->Session->read('ref').'/'. $this->data['User']['email'].'/'. $in