[symfony-users] Re: Ajax Forms

2010-02-09 Thread Samuel Morhaim
Anyone? On Tue, Feb 9, 2010 at 3:12 PM, Samuel Morhaim samuel.morh...@gmail.comwrote: Can somebody show me or point me in the right direction for doing: 1. Same-screen form edits. (For example adding an entry to a table with a form on the same screen without re-navigating) 2. Deleting items

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Absalón Valdés
hi. i apologize for my english. i,ll try to help. you can use jQuery or any else javascript library for submiting forms with ajax: - http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/ you see? well, after submit form you should refresh

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Samuel Morhaim
Absalon, thank you.. this shed some light... and I got part of it working, however I am still having issues. I managed to display the list and the form on the same screen, and submiting it side by side, it adds a new record to the table (by refreshing the entire page.. ) I still have issues

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Stefan Paschke
Hi Samuel this is pretty straightforward. Install the sfJqueryReloaded plugin for the jQuery functionality. This gives you the jq_link_to_remote() and jq_form_remote_tag() functions (that actually replace previous prototype functions from symfony 1.0). Both functions are wrappers to

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Stefan Paschke
Ajax form validation works like regular form validation. The action inits and binds the form class, if it does not validate, you just return the bound form complete with error messages. It's described in the jobeet tutorial. Stefan On Feb 10, 2010, at 7:24 AM, Samuel Morhaim wrote: Stefan,

Re: [symfony-users] Re: Ajax Forms

2010-02-09 Thread Absalón Valdés
on ajax validation symfony automatically removes layout, so you can retrive error messages with a ajax call using jquery in same way that I explained on my last post. (with .error or .notice selector). in module action, you can return only messages in ajax request: if

[symfony-users] Re: ajax forms with inline javascript (reCaptcha)

2008-12-31 Thread Dean Farrell
Is there a bug in day 6 of the Jobeet Tutorial for Doctrine, or am I being stupid somewhere? I've had the same thing happen twice now. The first time I backed my way back out, and checked everything step by step. It seems that when I add the getWithJobs() method and then change the index

[symfony-users] Re: ajax forms with inline javascript (reCaptcha)

2008-12-25 Thread Lee Bolding
Can you explain your problem a little better? I'm using reCaptcha with an AJAX form on http://lastminute.visualdna.com I can't remember having any weird headaches other than having to bypass the new forms stuff and manually instantiating the reCaptureValidator in my action. If you use

[symfony-users] Re: ajax forms with inline javascript (reCaptcha)

2008-12-25 Thread Yevgeniy A. Viktorov
Hello, Thanks for your interest :) I am using Ajax.Updater of prototypejs lib to add ajax interaction to regular form, something like this: 'onsubmit=new Ajax.Updater(this.parentNode ...' The original form already contain reCaptcha widget which works fine in regular/classic workflow, but

[symfony-users] Re: ajax forms with inline javascript (reCaptcha)

2008-12-25 Thread Yevgeniy A. Viktorov
SOLVED :) I have spend a bit more time on http://recaptcha.net/apidocs/captcha/client.html And found the way as explained here: http://www.symfony-project.org/forum/index.php/m/40626/ Originally I have used sfWidgetFormReCaptcha from the sfFormExtraPlugin, so here is overridden render(...)