I am unable to see ajax form validation after set the ajax settings for page node

Events happening in the community are now at Drupal community events on www.drupal.org.
pflame's picture

Hi,

I enabled ajax, ajax_ui module. And went to admin/settings/ajax page and selected content type: page and saved. I submitted add page form without entering title, then the page is submitted and then showing Title field is required. Actually the page should not submit right? I am unable to figure out where is the problem. Can you please guide me. I am using drupal 6.9 with postgresql 8.2.7

Comments

pflame's picture

When I try to install these modules first I got errors. I reported bug for this http://drupal.org/node/404650 . I got the errors but the ajax module record is there in the system table. Because of the bug weight is not updated for that module. So the module weight is 0. Because of this ajax_ui form_alter is executing after ajax form_alter.

I did not understand why update query did not execute when I disable and enable the module again. I did it for lot of times.

I removed ajax entry in system table and enabled ajax module then the update query executed and now ajax form is working.

I think it is better to put update query in hook_enable or use hook_uninstall and delete entry from system table.

Hi Prajwala, Thanks for your

brendoncrawford's picture

Hi Prajwala,

Thanks for your feedback. This bug has been fixed.

Ajax Module not recognizing Custom Form

auctionteamster's picture

I created a custom form (non content form) used for alerts. I have tried to activate the form through the plug-in using hook_form_alter as described in the accompanying module instructions. Any ideas? Thanks

Ajax.module

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: