Skip to main content
kavyam0002
Brainy
Nov 17, 2021 10:48 AM UTC
Question

Past date validation

How can I achieve validation in dateField....

 in the date field i shouldn't able to pick past date only future date i can select.. 

how can i achieve this with validation 

can anyone help with this  

    5 replies

    stefanhelzle0001
    Brainy
    Nov 17, 2021 11:10 AM UTC
    mikes0011
    Brainy
    Nov 17, 2021 3:28 PM UTC

    Tangential but is anyone else a tiny bit annoyed that they don't wrap the validation in an array by default?  I've found it's useful to use this as a starting point in almost all cases as a general practice, since it makes it a lot easier and intuitive to go ahead and add additional validations if/when needed.

    The Expression Guru
    stefanhelzle0001
    Brainy
    Nov 17, 2021 3:46 PM UTC

    Hm ... I have seen too many cases where people put things in curly brackets and ended up with nested lists and errors.