Allowing duplicate submission after 24 hours
-
I have successfully implemented the is_already_submitted validation to prevent duplicates and this this is working perfectly.
I now need to apply this same logic, but allow a duplicate to be entered if the last entry was made 24 hours in the past.
How can I check if the duplicate form entry is older than 24 hours and if so bypass the validation allowing a user to submit a lead.
Would applying a date filter to the original filter property be sufficent?
$atts['filter'] = "$fieldName=$fieldValue&&submit_time>last month";
- The topic ‘Allowing duplicate submission after 24 hours’ is closed to new replies.