Drupal

An illegal choice has been detected in drupal select field|Bypass validation for ajax loaded options

Error : An illegal choice has been detected. Please contact the site administrator.

while trying to use ajax to load dynamic options in select field in drupal form api. Using Auto load on scroll of table select will give same error.

Drupal – Force Path Prefix for Default Language

When you have more than one language on Drupal site, you have to define the default language among one of them. For example, if i set English as the default language, it will be shown in both http:// and http:///en. but all the links in the default language will not have the en path prefix.