AnsweredAssumed Answered

How to add relate field dynamically according to the drop-down values in CE 6.5.x and have them appear in the same location on the layout?

Question asked by Sohan Tirpude on Jan 19, 2015
Latest reply on Jan 21, 2015 by Rolustech Rolustech
Hello everyone, I want to have a dynamic relate field according to the selection of drop down values. I have four values, blank, Account, Contact and Lead. So, by default drop down value is blank. So, none relate field is shown and when we select any option from drop down it shows it's relate field. Now, in studio, i have created three relate field and keeping it hidden, when edit page loads. And it's working when I choose any option. But the problem is it's not coming in a same line. I am attaching images to give you clear idea of a problem.

1) when Related to field is blank, nothing shows,


2) when selecting Account option, it shows relate field


3) when selecting Contact option,


4) when selecting Leads,


Now, you can see, all relate fields are not in a parallel to Related to drop down field except Account relate field. And that's what I want to accomplish. So, please guide me soon.

Outcomes