Adding Field Manager params to enum fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • planetrocke
    replied
    Originally posted by espcrm
    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.

    Leave a comment:


  • esforim
    replied
    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?

    Leave a comment:


  • planetrocke
    replied
    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.

    Leave a comment:


  • planetrocke
    started a topic Adding Field Manager params to enum fields

    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.
Working...