Where can I find a working Drupal AHAH Form example? I'm studing it the hole day, cant put it to work. I used DANGEROUS_SKIP_CHECK in D5, now in D6 that flag is gone. I have to addapt all my modules to use AHAH thanks Feijó
http://drupaldojo.com/lesson/ahah On Tue, Mar 25, 2008 at 1:33 PM, Feijó <patrao@legendas.feijo.info> wrote:
Where can I find a working Drupal AHAH Form example?
I'm studing it the hole day, cant put it to work.
I used DANGEROUS_SKIP_CHECK in D5, now in D6 that flag is gone. I have to addapt all my modules to use AHAH
thanks Feijó
Thanks Marco, nice link I install and understood the simple ahah module But I need to solve this message: An illegal choice has been detected. Please contact the site administrator. My issue is with several comboboxes (select) with dynamic content. I'm working with big tables, over 60k records, impossible to load all of it within my html. Here http://drupal.org/node/182310 CHX say: "Now that $edit is passed to #process you can always add $edit to #options and also the new form caching means if some callback sends options to JS via AHAH calls, it can also cache the options. Removing this flag just means that there is no sanctioned way to do this as there should not be. I was always at unease because of the existence of this attribute." Where I do that? What hook? I try on hook_submit, but didnt work. I guess isnt on that hook that onde from drupal.org could have a tiny sample of code :) Thanks again Feijó Marco Carbone escreveu:
http://drupaldojo.com/lesson/ahah
On Tue, Mar 25, 2008 at 1:33 PM, Feijó <patrao@legendas.feijo.info> wrote:
Where can I find a working Drupal AHAH Form example?
I'm studing it the hole day, cant put it to work.
I used DANGEROUS_SKIP_CHECK in D5, now in D6 that flag is gone. I have to addapt all my modules to use AHAH
thanks Feijó
On Wed, 26 Mar 2008 11:20:03 -0300 Feijó <patrao@legendas.feijo.info> wrote:
My issue is with several comboboxes (select) with dynamic content. I'm working with big tables, over 60k records, impossible to load all of it within my html.
Hi, I've had the same problem, I did use DANGEROUS_SKIP_CHECK in D5 as well and switched to AHAH in D6. You might want to take a look at my implementation: <http://drupal.org/project/weather>. HTH, Tobias -- Tobias Toedter | AMAZING BUT TRUE ... Hamburg, Germany | If you took all the veins from your body and laid | them together end to end, you'd die.
Thats a great module, Tobias! Congrats I match your weather_js function, that one who uses form_get_cache and form_set_cache But to my code that did nothing, no changes to my cache so the error remains I'm missing something! I will read drupal source in those functions to see what I did wrong Thanks a lot! regards Feijó Tobias Toedter escreveu:
On Wed, 26 Mar 2008 11:20:03 -0300 Feijó <patrao@legendas.feijo.info> wrote:
My issue is with several comboboxes (select) with dynamic content. I'm working with big tables, over 60k records, impossible to load all of it within my html.
Hi,
I've had the same problem, I did use DANGEROUS_SKIP_CHECK in D5 as well and switched to AHAH in D6. You might want to take a look at my implementation: <http://drupal.org/project/weather>.
HTH, Tobias
participants (3)
-
Feijó -
Marco Carbone -
Tobias Toedter