• Resolved pitichampi

    (@pitichampi)


    Hello. I have an address mail in a custom subfield (group/subfield or repeater/subfield). Is there any way to get the subfield .
    Ie : I’ve got a subfield named ’email’ in a field named ‘group’.

    [dynamichidden mailto “CF7_get_custom_field key=’email'”] doesn’t work (Which is totally normal).

    I’d like to have some kind of result like this php request :
    get_field(‘group’)[’email’]

    [dynamichidden mailto “CF7_get_custom_field key=’group'”] would maybe return an array but how can I get any subfield in it ?

Viewing 1 replies (of 1 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Hi pitichampi,

    For a custom setup like that, I expect you’ll need to write a custom shortcode to return the value that you want.

    If you’re using ACF (seems like that might be what you’re getting at here?), it’s possible they already have a shortcode for accessing that value that you could use.

    Hope that helps! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Getting subfield ?’ is closed to new replies.