Hi,
when a form from the frontend is sent and created, I append a timestamp to the folder name.
What I’d like to do, is to append the same timestamp to a field in the newly created page.txt
.
How could this be done? Through a panel.hook
that fills in the date
field?
Or should I make an invisible field in the form that is prefilled upon page load—with the current date and time—and therefore when the user sends the form that field registers to page.txt
as well?
Thanks