function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nochoanochoa 

How to have dependent fields on a Web-to-Case?

Greetings,

I am trying to create a web-to-case and two of the fields I am trying to use are dependent fields within Salesfroce. The problem I am having is that these same fields do not act as dependent fields in our web. I called salesforce support and they said that in order for these fields to remain dependent fields on our web some code needs to be changed/written.

Can anybody suggest me what to do next?

Regards,
Ramu_SFDCRamu_SFDC
Hi the dependency setting done on Salesforce is limited only till salesforce. Once the code is used outside of salesforce like in Web-to-Lead or Web-to-Case the dependency will not longer work. You need to set the dependency exclusively on your webpage using javascript or any other technologies.

Below is one of the link I came across on accomplishing field dependency using javascript

http://javascript.about.com/library/bl3drop.htm