Hello,

First of all, I haven't done much CF work since CF 5.0.
I DLed the new MX demo version.

I have a simple form page.

<cfparam name="url.holiday" default="">
<cfparam name="url.holiday_date" default="">
<cfparam name="url.same_date" default="1">
<cfparam name="url.error_message" default="">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
         <title>Input New Holiday</title>
</head>

<body>
<table>
<cfform name="theForm" action="" method="post">
         <tr>
                 <td>Holiday:</td>
                 <td><cfinput type="Text" name="holiday" required="Yes"
value="#holiday#"></td>
         </tr>
         <tr>
                 <td>Date:</td>
                 <td><cfinput type="Text" name="holiday_date"
value="#holiday_date#"></td>
         </tr>
         <tr>
                 <td>Repeat Each Year:</td>
                 <td><input name="same_date" type="checkbox" <cfif
url.same_date>checked="true"</cfif>></td>
         </tr>
         <tr>
                 <td colspan="2"><input type="submit"></td>
         </tr>
</cfform>
</table>
</body>
</html>

----

The action page is even simpler so far.
<!--- inputHoliday_action.cfm --->

boo
---
It does the oddest thing.  THe action page returns an error message.
Form entries incomplete or invalid and returns the date.  I went back and
commented out the finput for the date and it works fine.

Can someone point me in the right direction to find out why this error
message is being returned?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to