Hide fields based on lookup column

rss

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
    rostislav
    Moderator
    Member for: 4 years 5 months 9 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
    Member for: 5 years 2 months 28 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