Nepal Dependent Address Dropdown
Nepal Dependent Address Dropdown is a lightweight WordPress plugin that allows users to easily select their Province, District, Municipality, and Ward through connected dropdown lists that automatically update based on previous selections.
The plugin includes up-to-date Nepal address data and can be integrated into custom forms, registration forms, user profiles, contact forms, and other WordPress applications. It is lightweight, easy to use, and designed to improve address entry accuracy while enhancing the user experience
Features
- Clean and simple UI
- Easy to integrate into any project
- Uses structured array data
How It Works
Each dropdown depends on the previous selection: 1. Select Province → loads Districts 2. Select District → loads Municipalities 3. Select Municipality → loads Wards
Usage
HTML
<select id="pradesh-list" name="pradeshList"></select>
<select id="district-list" name="districtList"></select>
<select id="gau-nagar-palika-list" name="gaunagarList"></select>
<select id="ward-list" name="wardList"></select>
Javascript npdmw_show_dropdowns("pradesh-list","district-list","gau-nagar-palika-list","ward-list");
License
This plugin is licensed under the GPLv2 or later license.
