Good day everyone!I have a problem in formatting a date using an input widget and a date picker. I try to set the 'DateFormat' property in date picker to 'MM-DD-YYYY'. But still have an error. Is there a code I need to add or just a change in the properties is the one I need. Images attached for reference. Thank you guys!
Can you share an OML?
Also, you can see here the documentation on how to use the date picker
https://success.outsystems.com/Documentation/11_x_platform/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Date_Picker/How_to_use_the_Date_Picker_UI_Pattern
I have shared an OML, this is just an example really close to what you have. But you with more inputs.
Kind Regards,
Márcio
I tried to attached the oml but the file is too large, also tried the oml you attached, it doesn't solve the problem. The main concern is the date format, how I can set it to MM-DD-YYYY and be able to save it. Thank you
Hello RD,
Please find the OML file for the same.
Regards,
Ajit Kurane.
If you want to achieve this one in traditional web then you can refer below oml.
Even issue not resolved please share sample OML from your end.
You might be running into the limitation of the form validation
Hi RD,
The DateFormat of the DatePicker widget is only applied correctly if the bound InputWidget type is set to Text.
Please refer to the DateFormat parameter description:
Hope it helps.
Best regards,
Paulo Moreira