Description
On Composer form, getting error on data valid from & valid to load "
09/28/2021
Invalid date (yyyy-mm-dd)"
Applies To
Evolve/Foundation-Composer
Cause
In the Composer form, the customer is facing an Invalid date format(yyyy-mm-dd).
Solution/Immediate Workaround
If you are using the Value Setter node in the workflow, you must use the default yyyy-mm-dd format; otherwise, the date will not be set. For uploading to SAP in the required format, see the instructions below.
If a different format is required to correctly input the date into another service, such as SAP, do the following:
-
Add a new field to the solution tree (wherever is appropriate for your form).
-
Bind the newly added field to the field displayed on the Form View.
-
Add a Set Action Rule to the field displayed in the form view that sets the value of the input field of the Web service to the format required.
Example:
formatDate($form.getValue('/my:myFields/my:dateString'),"yyyy.mm.dd");
Comments
0 comments
Article is closed for comments.