When the user fills up the form, the process is automated, but the setup needs to be done manually.
To automate the form-filling process, follow these steps:
- Dropdown Fields: Begin by incorporating two dropdown fields—one for selecting States and the other for Districts. Ensure that you predefine the values for these fields.
- Predefined District Values: Leverage the Bit Form dropdown feature, enabling the creation of multiple lists under a single dropdown. Create distinct lists for each state, containing the corresponding Districts. For instance, if you have ten states, generate ten lists under the dropdown, each comprising the Districts of the respective state.
Check the doc: https://bitapps.pro/docs/bit-form/form-fields/drop-down-field/#23-lists–options
- Apply Conditional Logic: Implement conditional logic to dynamically display the list of Districts based on the selected state.
- Access the respective form > Settings > Conditional Logic > Add a new condition.
- Set the conditions as follows:
- Action Run When: Record Create/Edit
- Action Effect: On Form Input
- Action Behavior: Condition
- Create conditions for each state, e.g., if the selected state is “New Work,” show the “New Work” City List. Repeat this process for other states, adjusting the conditions accordingly.
- Testing the Setup: Verify the functionality by testing the setup. Confirm that, upon selecting a state, only the relevant districts or cities appear in the dropdown list.
Should you have any inquiries, feel free to reach out for further clarification. For additional guidance, refer to Bit Form’s documentation.