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!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.