View Categories

RESTRICTING BACKDATE SELECTION IN LANDING PAGE

< 1 min read

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>

 


                                                            Screenshot (1)

 Kindly copy the script and paste it at the “End of Body” section (PFB the screenshot (2) for your reference) and save it.


                                                           Screenshot (2)

EXPECTED RESULT:

This will restrict the Lead to select backdate on the landing page. (PFB the screenshot (3) for your reference)

 

                                            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)


                                                   screenshot (4)


Scroll to Top