Populate Date field when Checkbox...

User 2284319 Photo


Registered User
20 posts

Looking for a way to auto-populate a date field when a checkbox is checked. Any suggestions?
User 187934 Photo


Senior Advisor
20,188 posts

Hi Robert,
What date do you want in the field? The users local date or your servers date?
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 187934 Photo


Senior Advisor
20,188 posts

Working example.
http://ericrohloff.com/coffeecup/ccforu … ldate.html
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 2284319 Photo


Registered User
20 posts

Today's date. The example you provided is perfect. Can I reference the JavaScript in the page source for what I need or is it more involved?
User 2284319 Photo


Registered User
20 posts

The JavaScript worked great! Thank you!!
User 187934 Photo


Senior Advisor
20,188 posts

Your welcome.:cool:
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.