WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Custom Fields Value Dependency (1 post)

  1. TC.K
    Member
    Posted 2 years ago #

    Hi there,

    I wonder if there any way to do the requirement like below:

    For the custom fields, can we defined Parent and Child value option? The child value options are depend on the Parent input.

    For example when we adding an address:

    Country : [US, CN]

    If the user choose US then the next custom field is State and the value options would be The states in US .
    Country -> [us]
    State : [Alabama,Alaska,American Samoa,Arizona,Arkansas...etc]

    However if user choose CN, then the next custom field would be Province and the value options would be the provinces in China

    Country -> [CN]
    Province : [Anhui,Beijing,Chongqing,Guangdong,Shang Hai...etc]

    Hope you guys know what I tried to express..

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic