What does your Application.cfc look like?  Also, what version of Mach-II 
are you using?

davee said the following on 08/12/2009 10:37 AM:
>
> On Aug 11, 2:29 pm, Brian FitzGerald <[email protected]> wrote:
>   
>> This is a shot in the dark, but how are you submitting the form?  A standard
>> html submit with the action attribute in the form tag?  Or perhaps you are
>> submitting the form via javascript, something like ...
>>
>> <input type="submit" onclick="document.forms[0].submit()" />
>>
>> I have seen times where people did this (not really in mach-ii) where the
>> form was submitted twice, once by the onclick handler and once again because
>> the button is of type submit.
>>
>> The way around that is to change the button type to "button" rather than
>> "submit" so only the javascript submits the form.  But anyhoo, just figured
>> I would throw that out as a potential idea.
>>     
>
> The submission is usually done with a button, ( not a submit button)
> with an onclick handler to do a document.formname.submit() after
> validating the form in javascript. In any case, it should not matter
> how many times the form is submitted, e request scope should be passed
> along with it. This is so fundemental that almost nothing would work.
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to