How do I get a field to show the current date? I searched the forum but didn't find an answer.
Thank you!
Hi LikeStuff,
Is the Custom Code action before the HTML (Render Form) action? In not, please move it up, otherwise this looks OK.
Bob
Oh I see. Thank you so much🙂
Hi Likestuff,
Most of the time ChronoForms runs the actions in the order they are shown in the events. So the HTML (render form) action renders the form HTML, including the values, with the info available at that point.
Bob
Hello.
I'm using chronoforms 6 and it seems custom code is not working. I put the code before "display section", but fields are not filled. Is there some change in the new version? Please see attached image.
Hi javerlo,
In v6 you should use $this->data instead of $form->data, and the way to do it actually is to use this shortcode in the "value" field instead of using custom code:
{date:Y-m-d}
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Thank you, admin.
I will try