Title: Field dependencies
Last modified: September 1, 2016

---

# Field dependencies

 *  Resolved [stefano7930](https://wordpress.org/support/users/stefano7930/)
 * (@stefano7930)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/field-dependencies/)
 * Hi,
 * I just set up a form based on the case fields I have in Salesforce.
 * There are dependencies between two of those fields but they were not passed over
   to the form after the import.
 * Is there a way to set the dependencies in the form?
 * thanks,
    Stefano
 * [https://wordpress.org/plugins/salesforce-wordpress-to-lead/](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/field-dependencies/#post-7693122)
 * Link?
 * Can you be more specific as to what “dependencies” you’re referring to?
 *  Thread Starter [stefano7930](https://wordpress.org/support/users/stefano7930/)
 * (@stefano7930)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/field-dependencies/#post-7693127)
 * Hi Nick,
 * sorry for the lack of info.
 * In Salesforce, when you create fields you can set some dependencies between them.
   For example, when you select a value from a picklist field, the dependent field
   will only show some specific values.
 *  the dependent fields are “Category” and “Subcategory”. According to the logic
   I have set in Salesforce, if, for example, you select “Academic question” from
   Category, the Subcategory should only show these values: ACRs, GL, Classroom 
   Content, Contact me (instead of showing the full list of subcategories).
 * However, when I created a form with the Import tool by copying and pasting the
   HTML code from Salesforce, the logic wasn’t transferred to the form.
 * Is there a way I can bring this logic to the form generated with your plugin?
 * Stefano
 *  Plugin Author [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * (@nickciske)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/field-dependencies/#post-7693132)
 * Not right now. There’s currently no way for the plugin to read those relationships
   or the conditional logic using the web to lead API (it’s write only). The form
   SalesForce generates doesn’t contain it either.
 * You’d need to add it yourself using JavaScript or use a more full featured plugin
   like Gravity Forms and the SalesForce connector plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Field dependencies’ is closed to new replies.

 * ![](https://ps.w.org/salesforce-wordpress-to-lead/assets/icon-256x256.png?rev
   =2316786)
 * [Brilliant Web-to-Lead for Salesforce](https://wordpress.org/plugins/salesforce-wordpress-to-lead/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salesforce-wordpress-to-lead/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/)
 * [Active Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salesforce-wordpress-to-lead/reviews/)

## Tags

 * [case](https://wordpress.org/support/topic-tag/case/)

 * 3 replies
 * 2 participants
 * Last reply from: [Nick Ciske](https://wordpress.org/support/users/nickciske/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/field-dependencies/#post-7693132)
 * Status: resolved