Hi,

I'm little bit new to Drupal. I have a form with cck fields. its include languages dropdown and nodereference field dropdown. when i change the language i need to load the new values to nodereference field. how can i do it using AHAH.

i used to jquery to do this with my own way. when language dropdown onchange i create a jquery ajax function to load the data to nodereference field using hook_menu. when i change the language dropdown nodereference filed load the new data without an issue. but the thing is when i going to save the form this error message will appear.

error message
An illegal choice has been detected. Please contact the site administrator.
Restaurant: this post can't be referenced.

*Restaurant is the nodereference field.

thanks

Comments

sdrycroft’s picture

Project: AHAH Action » Drupal core
Version: 6.x-1.0 » 6.26
Component: Code » ajax system
Priority: Major » Normal

I'm afraid ishan that this module is not what you're looking for.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.