Hide fields based on lookup column


Posted by Katy - Apr 11 ’16 at 11:28

Hi, I was using this article to conditionaly hide fields and it works fine with dropdowns which are created within the list. But i have a lookup colum with values and i need to hide base on that. The exaples in the article doesn't work for that, unfortunately. Is there any way to accomplish that?

  • rostislav
    Member for: 6 years 7 months 4 days
    #1 by rostislav Apr 11 ’16 at 11:37

    The idea is exactly the same, but you need to use getters appropriate for the field type. Check this page: http://formsdesigner.blogspot.com/2013/04/getting-and-setting-sharepoint-form.html

  • Katy
    Member for: 7 years 4 months 23 days
    #2 by Katy Apr 11 ’16 at 12:45

    [#1]: ok ) I fixed that, i didn't include 'getSelectedText' at first, put the actuall value instead. It is working now! Thanks.

Displaying 1 to 2 of 2 messages