You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that af_get_field won't work if the field type is set to "Group". Example: Field of type "Group" called "field" has a sub field called "sub_field". How am I supposed to access the sub field? af_get_field( 'field[sub_field]' ) does not work, neither does af_get_field( 'sub_field' ).
Hi @fabianlindfors, thank you for this great plugin!
I noticed that
af_get_field
won't work if the field type is set to "Group". Example: Field of type "Group" called "field" has a sub field called "sub_field". How am I supposed to access the sub field?af_get_field( 'field[sub_field]' )
does not work, neither doesaf_get_field( 'sub_field' )
.advanced-forms/api/api-forms.php
Lines 55 to 56 in 12e950b
If I change the condition to
if ( isset( $field['sub_fields'] ) ) {
thenaf_get_field( 'sub_field)
works.Would it be safe to change the condition as mentioned? Thanks!
The text was updated successfully, but these errors were encountered: