[Resolved] populate a cred form date field with today's date
This support ticket is created 4 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Tell us what you are trying to do?
I am trying to populate a cred form date field using the code below when creating a cpt record not updating one. But it does not work.
[cred_field field='csh-create-date2' force_type='field' class='form-control' output='bootstrap' value='[date1]']
I have also tried to create it using a function same problem.
I have used the code as suggested:
[cred_field field='csh-create-date' force_type='field' class='form-control' output='bootstrap' value='[today_timestamp]']
but not working.
I don't follow where the email address is coming from, but if you want the email address of the currently logged-in user, you can provide that with the wpv-user shortcode: