format="flash"  so unless I'm way off here, you should be using
ActionScript, not JavaScript.

<cfformitem type="script">
function testform() {
       alert ("hello world");
       }
</cfformitem>

....if I'm way off, sorry  ;)

DK

On 4/10/06, David Adams <[EMAIL PROTECTED]> wrote:
> I am having troubles getting the page to display.  I think it is the OnSubmit 
> attribute to be causing the problem.  Any idea how I can get this working? 
> Here is my code:
>
> <script language="JavaScript" type="text/javascript">
> function testform() {
>         alert ("hello world");
>         }
> </script>
>
> <cfform
>         action="dump.cfm"
>         method="POST"
>         name="test"
>         preservedata="Yes"
>         format="flash"
>         skin="haloSilver"
>         onSubmit="return testform();">
>
> <cfinput name="name"
>         type = "text"
>         label = "test"
>         required = "yes"
>         width="300"
>         message="test"
>         tootip="tool tip"/>
>
> <cfinput type="submit" name="submit" value="submit">
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237405
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to