The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
How to show creation date of a form in a field in the same form
Hi there,
I really don't get it how I can get the creation date of a form in a field in that same form to do calculations with it. I would like to have a field that calculates the age of the form, and also the time since it was updated. How to do it in a view is explained on the Formidable website, but all the instructions refer to a field that I don't know how to show or make in the form: the famous x field as in [x show="created-at"].
March 21, 2019 at 7:29 am
The created_at field is part of the frm_items table and is automatically populated by Formidable when an entry is saved. If you want to access it in a view for the purpose of showing the age of the entry, you'll have to do this with custom code. You would have to hook into the frm_before_display_content filter. https://formidableforms.com/knowledgebase/frm_before_display_content/
If you want to display this on the form when an entry is updated, you have to use the frm_setup_new_fields_vars and frm_setup_edit_fields_vars filters.
https://formidableforms.com/knowledgebase/frm_setup_new_fields_vars/
https://formidableforms.com/knowledgebase/frm_setup_edit_fields_vars/
March 21, 2019 at 1:42 pm
To complicated for me I'm afraid.
March 21, 2019 at 10:33 pm
You should consider hiring a dev if you really need the functionality.
Discussion closed.