jo-ka
Member
Hello.
I' have a conditional email form plugin, which sends an email everytime one of the form fields is updated with new values. Something like this and is working for all elements except date element.
So, this works:
But if the element is a date element, the email is sent everytime, even though the value is not changed. The mail body then has no value for the date, but the email is sent anyway.
So, for the date plugin, I have this condition:
I've tried with and without _raw for both fields but with no avail.
Also, the value on the database does'nt change at all, as the time value is allways set like 00:00:00.
The element is set for Local Time as the site is only used locally.
What can possibly be wrong?
I' have a conditional email form plugin, which sends an email everytime one of the form fields is updated with new values. Something like this and is working for all elements except date element.
So, this works:
But if the element is a date element, the email is sent everytime, even though the value is not changed. The mail body then has no value for the date, but the email is sent anyway.
So, for the date plugin, I have this condition:
I've tried with and without _raw for both fields but with no avail.
Also, the value on the database does'nt change at all, as the time value is allways set like 00:00:00.
The element is set for Local Time as the site is only used locally.
What can possibly be wrong?