Date range with no gap

By: Fabio Susana | Asked: 12/10/2023
ForumsCategory: How-toDate range with no gap
Fabio Susana asked 1 year ago
One of the questions on the form is about work history from the last 5 years. How to add this but with every date entry with no gaps, activating a warning if there is a gap?
1 Answers
Victor Font answered 1 year ago
You're asking about something that may be a complicated validation process. You said, "One of the questions on the form is about work history from the last 5 years." How are you capturing the 5-yrs worth of data? What kind of field? Are you using a repeater?
Fabio Susana replied 1 year ago

Hi, no data, date. So it is not just only work history but also residency history. This is for a gov form that requires that info from last 5 years with no gaps between entries. For example: 1234 main st ,from 10/10/2021 to 11/25/2022, next address must start at from 11/26/2022, no gaps. If gap was detected form will give a warning message

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right