I have a page that has a list of records on the left and an add/edit form in
a cfdiv on the right side of the page. I was asked to put the add/edit form
in a nicely styled colorbox/jquery dialog box instead of in the cfdiv.

I have the dialog working but instead of calling the form with a cfdiv like
this:
<cfdiv id="catWin"
bind="url:docs/divs/div_coupon.cfm?price_id=#attributes.price_id#&event_id=#session.event_ID#">

I am just cfincluding it like this:
<cfset url.event_id = session.event_ID>
<cfset url.price_id=0>
<cfinclude template="#application.webroot#/docs/divs/div_coupon.cfm">

The form works and submits fine, but the date picker on the date fields is
not working when run in the dialog.

Here is what the code looks like that produces the date text input:
#forms.date(name="expire_date",value=dateformat(getCoupon.expire_date,"M/D/YYYY"),return_option="field_only")#

Ideas?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to