Define dependencies between fields (e.g., dependent picklists)

In this guide, we will explain how to customise Formyoula Select field dependencies. If you have any questions, please email us support@formyoula.com.

To create a Select List field dependency, please open the form builder and edit an existing select list or create a new Select List field on your form. After clicking on the pencil icon, you will see a section called "Field Dependency".

from-slite

You can define Field Dependencies by clicking on the section title. This will open the Field Dependency JSON configurator.

from-slite

If the text area is empty, this means there are no select list dependencies, and the select list will always display all available, select options on the form. You can add one or multiple field dependencies based on other Select List fields on your form. A single Dependent Select List can have multiple Controlling Select Lists.

The Select List Dependency logic has the following JSON structure:

Controlling Field ID -> Controlling Field Select Option -> Dependent Field Select Options

For example, we can find the Controlling Field ID by editing any Select List field on our form that we want to use as one of the Controlling Select List fields.

from-slite

In our example the Controlling Field ID is "73c2-4443-1a48" and the Controlling Field Select List Options are "Select One, Select Two, Select Three". This means we can define what Select Options will be displayed for each of the Controlling Field select options.

If our Dependent Select List has the following options available - "Select A, Select B, Select C".

from-slite

We can create our first Field Dependency that looks like this:

"73c2-4443-1a48" -> "Select One" -> "Select A, Select C"

from-slite

Please use a JSON validator to make sure you are following the correct JSON syntax - https://jsonlint.com/

from-slite

When you save the Dependent Select List edits you will see the following results on your mobile or online survey.

from-slite

from-slite

No Select List Options will be displayed on the Dependent Select List of the correct option is not selected on the Controlling Select List. When the correct option is selected, the Dependent Select List will display the available options.

from-slite

For any questions, please contact us - support@formyoula.com or the Formyoula in-app chat :)

Getting Started

  1. Create a Salesforce Form
  2. Purchasing Formyoula Licences
  3. Convert Salesforce objects to Formyoula forms
  4. Adding Users And Form Sharing
  5. Exporting All Form Entries To Excel
  6. Form Sharing
  7. Conditional Fields
  8. Sign In To Formyoula Mobile With Partner and Communities Users
  9. Enable Salesforce Object Access for Chatter Free Users and Other Salesforce Users With Limited or No Access to Objects
  10. Create custom branded PDFs using the Formyoula PDF Editor
  11. Import Users From a CSV File
  12. Download Captured Form Entries as a CSV File
  13. Export Your Formyoula Forms From Your Sandbox and Import Them Into Your Salesforce Production Environment
  14. Create a Custom User Login Email Template for Your New Users
  15. The Difference Between Salesforce and Formyoula User Types
  16. Math Formula Field - For Simple Mathematical Calculations
  17. Custom Navigation Buttons
  18. Create Forms and Capture Form Entries in Any Language
  19. Formyoula Features
  20. How To Skip Form Pages Using Formyoula Custom Navigation?
  21. Change Salesforce Integration User By Changing Form Ownership
  22. Delete Users
  23. Restrict The Formyoula Users Page to Admin Users Only
  24. Assign Admin Privileges to Formyoula Users
  25. Edit Form Entries Directly From Your Dashboard To Resubmit Them
  26. Display Repeat Group Entries In Custom PDF Template Using Merge Fields
  27. Define dependencies between fields (e.g., dependent picklists)
  28. Formyoula Github Integration
  29. PDF Upload Form Element Guide
  30. How to Edit user Details and add Custom Attributes
  31. Installing Formyoula Mobile Web App on Windows and Mac desktop

Feedback and Knowledge Base