Custom Fields
Re-Envisioned
Support Meta Box Show Hide (Javascript) Hide field based on custom field value

This topic contains 3 replies, has 2 voices, and was last updated by  estevanix 4 years, 7 months ago.

  • Creator
    Topic
  • #316

    estevanix
    Participant

    Hey there,

    I would like to hide a field based on the value of another custom field in the same form.
    something like if Status == ‘inactive’ hide Status_Options

    How could i accomplish that?

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #317

    Anh Tran
    Keymaster

    Hi,

    Currently both Include/Exclude and Show/Hide (JS) extensions cannot do that. They work with conditions from outside meta box (like post ID, taxonomy, etc.). What you are asking for is similar to Conditional Logic and I have a plan to develop it. I will announce when it’s ready.

    Thanks and regards.

    #326

    estevanix
    Participant

    ops! That was pretty much the only reason I’ve bought the extension…=)
    Anyway, thanks.

    What are the ‘fields’ => array()’ for?

    All the best,

    #327

    estevanix
    Participant

    oh, never mind…=) of course, ‘fields’ are… the fields.=)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hide field based on custom field value’ is closed to new replies.