Timeline for Second ajax button not working on user profile form
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 13, 2017 at 8:49 | vote | accept | Ahmad | ||
Feb 10, 2017 at 14:53 | comment | added | Clive♦ | Check the rest of your code/contrib modules in that case, that's not what should happen in normal circumstances | |
Feb 10, 2017 at 14:50 | comment | added | Ahmad |
In the ajax callback the $form_state does not contains the updated values. It has the old values.
|
|
Feb 10, 2017 at 9:47 | comment | added | Clive♦ |
That's correct - you can use #limit_validation_errors to control it though
|
|
Feb 10, 2017 at 9:13 | comment | added | Ahmad |
but why it is calling that function. It should call only the callback function with $form_state array. is it possible? I think the button validate the whole form.
|
|
Feb 10, 2017 at 8:28 | history | answered | Clive♦ | CC BY-SA 3.0 |