Preview:
// Select Current or future date


new Date().parse("E MMM dd H:m:s z yyyy", getFieldById(getFieldChanged()).getValue().toString()) - new Date() < 0 ? getFieldById(getFieldChanged()).setError('Please select a future or current date') : getFieldById(getFieldChanged()).clearError();
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter