Attempting to adding code/script to...

User 2889891 Photo


Registered User
38 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
User 187934 Photo


Senior Advisor
18,794 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.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
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.