Hi everybody, I have a simple query, but have been able to twist around the solution with trial and error, but I think is not reliable.
I have a form on which all fields are read-only. Now, when I click on ADD I get a form with all new fields (none are disabled).
What I want:
I would like to make a field take a value like this: {year} = date(‘Y’, strtotime( date(‘d-m-Y’))).
As soon as I click on ADD this field must be initialized to the value… in which event or any other method to go about this?
Thanks again for fast reply.