Skip to main content

Select the dates available in your forms

Updated over 6 months ago

If you're using our date collection field, you might want to hide dates in the past or dates in the future. Here's how to do it.

Display only dates in the future

Open your popup in the editor.

In the left column, select "Design" and click on "CSS":

Paste the following snippet:

.wisepops-date-year-lt {
display: none;
}

Display only dates in the past

Follow the same process but use this snippet instead:

.wisepops-date-year-gt {
display: none;
}

Did this answer your question?