How to get C1DateEdit to accept an entry like "00/00/2017"

Posted by: SHanau on 9 October 2017, 1:15 pm EST

    • Post Options:
    • Link

    Posted 9 October 2017, 1:15 pm EST

    Hi,

    Is it possible to get C1DateEdit to accept an entry like “00/00/2017”, for example by using custom formats ?

    And if so - and since it’s not a valid date - how can I still use PostValidation events to check entered dates ?

    Thanks,

    Stephan

  • Posted 10 October 2017, 3:32 am EST

    Hi Stephan!

    C1DateEdit would accept a valid date only. And, since it provides built-in validation feature. Could you please let me know the scenario/use case of this? It may help me in suggesting you something appropriate for the scenario.

    Regards,

    Meenakshi

  • Posted 10 October 2017, 5:19 am EST

    Hi Meenakshi,

    Thanks for the quick response.

    I’m currently developing an app for the German HealthCare Sector. Some patients (e.g. refugees) don’t know their exact birthdate, so it’s crucial that the user is able to leave day and month entries blank or last least fill it with zeros.

    Regards,

    Stephan

  • Posted 11 October 2017, 12:17 am EST

    Stephen!

    I am attaching a small sample for you here. Please refer to this.

    Hope it helps.

    Regards,

    Meenakshi

    Prj_C1DateEdit_Nullable.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels