Forums

Clear value does not work for Calendar fields

serguei_kp 06 May, 2019
Hello, clear value action does not work on the Calendar fields.
I've specified in Radios group Events Clear value action when select an Option the value of the Calendar field must be erased in order to not appear in the email body and not be stored in the database.
But it does not work.
By the way Clear value works fine for other field types but not for Calendar.







Email with two dates, while there must only one date:



Best regards.
healyhatman 06 May, 2019
Answer
1 Likes
Don't use the ID, use the NAME of the field as your identifier. For all of them, but especially for calendar and other non-text fields because the actual value is stored in a separate hidden field.
serguei_kp 06 May, 2019
Hi, thank you!
Can I mix Names and Id's in one field with elements ?
healyhatman 06 May, 2019
Sure can, just remember in almost every case it's better to target the name of a field, and almost NEVER useful to target the ID.
This topic is locked and no more replies can be posted.