I have a form which sends an email for modified records. In this email notification I managed to state the changes that have been done like this in a "no format" macro embedded in the IFTTT sending the mail:
#if(${entry.hasChanged("date")}) Modified value in "Date": [entry.date] #end
But in this case I get the unix date figure instead of a formatted date. I was wondering if I can use the virtual function formatDate in this no format view? And how?
If you access ConfiForms values via [entry.field_name] notations then. you get an internal value of the field and that is a timestamp for the date/datetime fields
Consider using formatDate function (can also accept the pattern)
#if(${entry.hasChanged("date")}) Modified value in "Date": [entry.date.formatDate] #end
https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.