Forum Discussion

VivekVishwanat3's avatar
VivekVishwanat3
Qrew Cadet
7 years ago

Testing on date Field

Hi,
I have a Date field. When the user giving any random Text such as "afughauif", the form is taking "1-31-2018" as default value, Which I don't want.


Suppose user given random input:

But system is taking a particular date: 
(01-??-2018)=> what can be logic behind this value?

(and eventually when user clicks in the box )

        (01-31-2018)

Instead, it should show an error message. Is their anyway to handle this situation?

1 Reply

  • Hi Vivek, 

    you could set the attribute of the date field as required. This will show an error message every time the date field is left empty or the user input doesn't match a date value. 


    Control + Right Click on the date field 
    Select " Edit the field Properties for this field"
    Check the Required Box in the Basics Section 

    I hope this will help 

    Ina