Copy link to clipboard
Copied
I have this input field in a popup window, but can not get it to show a default value. Any ideas?
<cfinput type="datefield" name="blockDatePOP" id="blockDatePOP" value="#NOW()#" required="yes" message="You must enter a block date" mask="d mmm, yyyy" />
Thanks,
Darrin
Copy link to clipboard
Copied
Try it without the mask attribute.
Copy link to clipboard
Copied
nope tryed that got same result...the field just shows as blank
Copy link to clipboard
Copied
Does it work *not* in a popup window? I copied your code directly into a cfform and I got a date picker, defaulted to today.
Copy link to clipboard
Copied
it does not work in the popup, which is odd..... but that may be the issue.
Thanks
Copy link to clipboard
Copied
Maybe you should post your entire code for the page and the popup window.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Read this before you post:
http://forums.adobe.com/thread/607238