Web Form Builder - Displayed date...

User 187934 Photo


Senior Advisor
20,266 posts

The datepicker is removing it for some reason. I need to dig a little deeper.
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
User 2805454 Photo


Guest
7 posts

I agree with you're saying.
Datepicker is the responsible.
Thank's for your help.
User 187934 Photo


Senior Advisor
20,266 posts

Give this a try.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script>var jQ = $.noConflict(true);
jQ(window).load(function(){
function getQueryVariable(variable)
{
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
var urlname = getQueryVariable("token")

if(urlname != false ){

jQ("input[name='dateField']").val(urlname);
}
});</script>

It seems to work here.
http://ericrohloff.com/coffeecup/ccforu … 31-10-2015
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
User 2805454 Photo


Guest
7 posts

I don't succeed inserting your script.
Your link doesn't work for me. The problem is the same.
I'm using Chrome.
User 187934 Photo


Senior Advisor
20,266 posts

It's weird that it only does it sometimes. If I refresh the page it works most of the time.
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.