Announcement

Collapse
No announcement yet.

Adding Field Manager params to enum fields

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding Field Manager params to enum fields

    I want to add custom parameters to enum fields, similar to Is Sorted, Display as Label... I know how to push them into the view for fieldManager, but I'm not sure how to have them save to the field itself.

  • #2
    This looks like it may be a Core modification and something I cannot do in a module/extension. Please correct me if I am wrong. What I am attempting to do is set up certain enum fields to respond certain ways based on if they have custom params.

    Comment


    • #3
      Your 2nd post clarification make it a bit clearer on what you want but I'm still having trouble picturing the scenario.

      "respond in certain ways" mean what? Can you post example?

      E.g. You want does your Enum 1 to change based on Enum 2 condition?
      e.g. You want to hide Enum 1 when field: description is blank?
      e.g You want to set it as Read only when Enum 1 = Close?

      Comment


      • #4
        Originally posted by espcrm View Post
        Your 2nd post clarification make it a bit clearer on what you want but I'm still having trouble picturing the scenario.

        "respond in certain ways" mean what? Can you post example?

        E.g. You want does your Enum 1 to change based on Enum 2 condition?
        e.g. You want to hide Enum 1 when field: description is blank?
        e.g You want to set it as Read only when Enum 1 = Close?
        Thank you for the response, and I can provide some clarity:

        I have code (in edit.js and detail.js) which adds a link below an enum field's select box. Right now I am showing it on all enums, but I want only certain enum fields to have this link shown below them. I wanted to be able to add this as a boolean field on the fieldManager.

        Comment

        Working...
        X