macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: onclick form submit from link

Subject: Re: onclick form submit from link
From: GArlington
Date: Thu, 27 Mar 2008 03:54:58 -0700 PDT
Newsgroups: macromedia.coldfusion.cfml_general_discussion

On Mar 27, 1:12 am, "jolakammu" <webforumsu...@xxxxxxxxxxxxxx> wrote:
> Guys,
>
>  I am calling onclick="document.form.submit();" in a hyper clink.
>
>  On click, it goes to a fuseaction where act_load_structure.cfm loads the
> structure with form variable.
>
>  But the form fields are not avaibale in act_load_structure.cfm . It says form
> fields are not defined. Do you know why.
>
>  I appreciate your help in advance.

Add "return false;" after document.form.submit();

<Prev in Thread] Current Thread [Next in Thread>