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

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

Newsletter

Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.


grid gear info copy caret-up caret-down trash