USE CASE: RESTRICTING BACKDATE SELECTION IN LANDING PAGE
ACTION REQUIRED:
While creating a landing page, the following script can be added at the “End of the body” under “Page settings” (step 4) to restrict backdate selection in landing page. (Please refer to the script and screenshot (1) below)
SCRIPT:
<script
type=”text/javascript” src=”https://f2.leadsquaredcdn.com/common/js/lsq.landingpage.helper.min.js“>
<script type=”text/javascript”>
!function(){let
o=window.onload,n=window.leadsquared.landingpage.customization.supportOnlyFutureDates;”function”!=typeof
window.onload?window.onload=n:window.onload=function(){o&&o(),n()}}();
</script>
Kindly copy the script and paste it at the “End of Body” section (PFB the screenshot (2) for your reference) and save it.
EXPECTED
RESULT:
Screenshot (3)
LIMITATION:
The lead will be able to modify the date and put any backdate by typing it. (PFB the screenshot (4) for your reference)
