I have tried so many different ideas and none seem to work out the way I wanted so I am asking for some input as to ideas or how you would do it. Idea is simple...I want the user to edit their info throughout the site on the same page so no clicked edit > go to edit page > save and back to view. I have tried using jquery to toggle the content with a form, that worked until validation fails since the toggle would be in the success, tried using 2 divs one for loading the form but same thing, if validation fails the div still gets toggled with the submit Ajax. I had the client side validation working but too much of a pain for what i need to make sure user enters min 5 characters, only to say its valid client side then save it and removing characters when sanitizing says nope not valid. So now I'm saying forget toggle sliding, fading and just swap out the content being edited with the form so if it saves update the div with the new content or if it fails the form with the errors appears which is what I want basically......but now cancel. How do I get the original data back if i replace the current content with the form and the user clicks cancel? Any ideas, suggestions or helpful tips would be greatly appreciated. Thanks in advance to all. Dave
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" 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/cake-php?hl=en
