Hide value in dropdown regards state

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yberges
    Senior Member
    • Jul 2022
    • 174

    Hide value in dropdown regards state

    hello
    i create 2 enty
    - 'event'
    - 'activity'
    i link event to activity with a field
    in event we can choose activity created
    that works
    in 'activity i create a state field with 3 'open' 'close' 'terminate'

    who i can hide activities in dropndown in 'event' (display only open)
    regards
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #2
    yberges

    Please include screenshots of what you are trying to do.

    Comment

    • yberges
      Senior Member
      • Jul 2022
      • 174

      #3
      Sure, like this ?
      Click image for larger version

Name:	2023-09-12_12h35_36.png
Views:	128
Size:	261.8 KB
ID:	97306

      Comment


      • rabii
        rabii commented
        Editing a comment
        You need to create a custom view for the field and apply a getSelectFilter.
    • yberges
      Senior Member
      • Jul 2022
      • 174

      #4
      hello can you explain a little more or point to documentation ?

      Comment

    • yberges
      Senior Member
      • Jul 2022
      • 174

      #5
      ok thanks, a light question, what is the best practice to add js in backend ?

      Comment


      • rabii
        rabii commented
        Editing a comment
        what do you mean best practice ? just make sure that you get the correct folder structure and names correct.
    • yberges
      Senior Member
      • Jul 2022
      • 174

      #6
      tht i mean is how to add js without any problem on crm update ?

      Comment

      Working...