|Release date||Nov 8th, 2021|
The installation link for the Salesforce Package can be found here.
We’ve added support for a new string format that can be used for dynamic minimum and maximum dates for the purpose of date validation. A use case of this functionality is to check that a user is over 12 years of age based on today's date to be able to book the vaccination appointment. To enable this capability, we have updated the Option Format of the question that captures the date of birth of the vaccine recipient in this format: [today][operand][value][unit] where,
The validation also shows custom errors. There are two optional keys for validation which are
In the example above, the minimum age of vaccine recipient to be eligible to book the vaccine is 12 years old and the maximum age is their date of birth +30 years to be eligible to book the appointment. You can set the minimum and maximum age range as per your requirements.
Please add the following new Message Keys in Salesforce for the error messages
Please sign in to leave a comment.