Try adding the "Delayed Evaluation" function, DE()

iif(url.showdate,DE(DateFormat(url.showdate,"mm-dd-yyyy")),DE(DateFormat(now
(),"mm-dd-yyyy")))


> Can someone help me with this.. I am knew at using IIF, but from my
> understanding it whould work here:
> <cfinput type="Text" name="ShowDate"
>
value=iif(url.showdate,DateFormat(url.showdate,"mm-dd-yyyy"),DateFormat(now(
> ),"mm-dd-yyyy"))#>
>
> Thanks,
> Mike
>
>
> Michael T. Tangorre
>
> ============================
> Resident Assistant - Brick
> Web Applications Developer
> A.U. Webteam Slave  :-)
> AIM: CrazyFlash4
> ============================
>
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
  • IIF Tangorre, Michael T.
    • Joseph Thompson

Reply via email to