Support

Account

Home Forums Add-ons Repeater Field Formatting string from date picker Reply To: Formatting string from date picker

  • Hi @jeffhogg11

    No worries. You can use a function called get_sub_field to return a value and store it in a variable like so:

    
    $date = get_sub_field('field_name');
    

    Please note that the get_sub_field must be used WITHIN a has_sub_field or have_rows loop.

    Please check out the docs for loop examples, and also the date picker field to see how you can format the string

    Thanks
    E