Support » Plugin: Toolset Types » [Plugin: Types – Custom Fields and Custom Post Types Management] Custom Fields Value Option Dependen

  • TC.K

    (@wp_dummy)


    First of all i have to say this plugin is awesome!

    However, I still hope for more features included in this plugin.

    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/types/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Amir Helzer

    (@amirhelzer)

    Types 0.9.5, due to release next week, will have a complete framework for parent / child relationship between different post types.

    I’m going to cover it in our blog:
    http://wp-types.com/blog/

    TC.K

    (@wp_dummy)

    Really??..I can’t wait for this…

    Thanks

    TC.K

    (@wp_dummy)

    Hi AmirHelzer,

    I already installed the latest Types 0.9.5, I found one new feature at the Custom Fields Group – the Conditional Display .

    I am not quite understand how it works, seem there are no documentation about it too. Any details about this feature?

    Plugin Author Amir Helzer

    (@amirhelzer)

    You’re right. It’s not yet documented. Choose the fields to filter by, then choose the condition and enter a value.

    For example, if you want the group to appear only when the ‘height’ custom field is larger than 300, choose ‘height’ as the field, then ‘>=’ as the operation and 300 in the value.

    TC.K

    (@wp_dummy)

    Is it only work in numbers? How about if I want the ‘book’ custom field equal to ‘fiction’?

    Can it do the thing that I requested on above (1st post in this thread)?

    Plugin Author Amir Helzer

    (@amirhelzer)

    You can also enter texts. The number was an example for numeric fields.

    TC.K

    (@wp_dummy)

    I still cannot understand what does Conditional Display really works for? In what condition we need it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Custom Fields Value Option Dependen’ is closed to new replies.