This module is mainly aimed at Chinese users, the purpose is to provide a lightweight "receiving address" solution.

Road Map:

7.x-1.x Pure and Lightweight js version (Form API)
7.x-2.x Fast and Full Interface API version

like: http://58.252.101.9/warranty/get_area_list.php?org_id=MDHJ&code=11402&ca...

How to use

  $form['contact_info']['diqu'] = array(
    '#type' => 'china_address',
    '#title' => t('Area'),
    '#options' => array(
        'sheng_val' => '四川',
        'shi_val' => '乐山',
        'xian_val' => '井研',
        'xiang_val' => '石牛乡',
     ),
  );

省市县街道(乡镇)四级联动...专注form, 不搞其他,超轻量级...

Project Information

Downloads