Support

Account

Home Forums Front-end Issues How do the date of publication by a front-end form? Reply To: How do the date of publication by a front-end form?

  • Hello guys. I have a form that updates some special fields assigned to user accounts.
    I need a field that saves (store) the current date when the form is updated, for later front-end use.

    The form has the following structure:

    <?php
    $proprietar = get_current_user_id();
    acf_form(array(
    ‘post_id’ => ‘user_’ .$proprietar,
    ‘post_title’ => false,
    ‘field_groups’ => array( 7214 ),
    ‘submit_value’ => ‘Actualizează’,
    ));
    ?>

    Any idea how i can do this?
    Thanks!