Attempting to adding code/script to...

User 2889891 Photo


Registered User
42 posts

<input type="text" class="span2" id="dp1">
<script>
$(function(){
$('#dp1').fdatepicker({
initialDate: '02-12-1989',
format: 'mm-dd-yyyy',
disableDblClickSelection: true,
leftArrow:'<<',
rightArrow:'>>',
closeIcon:'X',
closeButton: true
});
});
</script>



I am attempting to add to my form in the form designer. Now, the input field works a treat. But no calendar will open.

URL to Form: https://xtremepaintball.coffeecup.com/m … /form.html
URL to Foundation: http://foundation-datepicker.peterbeno.com

What am I doing wrong?

Please help ASAP,

Thank you,
Tech-Xcellent
Two Coffee Snobs
Benjamin Davis
Developer | Consultant | Marketing

m: 0415 400 416
w: www.twocoffeesnobs.com.au
e: info@twocoffeesnobs.com.au
User 187934 Photo


Senior Advisor
20,239 posts

Hi Tech-Xcellent,
You need to add the script to your form.I don't see it on there.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.