check if date entered correctly

check if date entered correctly

I get an error on the following expression that checks if a date has been entered correctly

if ( input.Data_do_Auto.matches("[0-9]{2}/[0-9]{2}/[0-9]{4}"))

It seems that using string expression in a ".matches" function isn´t allowed.

I appreciate any help on this issue.

It would be nice if ZC could put more effort on documenting the deluge functions. This would save us a lot of time and make using ZC more viable.

Thanks.