Maybe you can share your form code? Also what are the values of your m2 properties named eventParameter and parameterPrecedence.
-----Original Message-----
From: jarthel <jart
...@gmail.com>
Date: Tue, 14 Jul 2009 22:38:12
To: Mach-II for CFML<mach-ii-for-coldfusion@googlegroups.com>
Subject: [Mach-II] Re: has anyone tried to use event field as a form field
exclusively?
Hi Brian.
Yes. There was a point where I turn all the links in my form to
something like that. except that I didn't use "buildURL". I just used
index.cfm as the action. And this doesn't work fine.
Maybe using the buildURL does the trick?
Thank you
JAyel
On Jul 6, 11:48 pm, Brian FitzGerald <bmfitzgera...@gmail.com> wrote:
> Hey Jayel,
> I'm a little confused. So you're saying you have a form ... and that
> form has a hidden form field, right? Something like this?
> <form action="#buildUrl('dumpEventData')#" id="myForm"
> name="myForm">
> <input type="hidden" name="myEvent" value="#event.getName()#" />
> <input type="submit" value="submit" />
> </form>
> <a href="##" onclick="document.forms[0].submit()">submit</a>
> As long as your link is properly set up via javascript to submit the
> form when it's clicked, you should get the same result either way.
> Can you provide additional details?
> Thanks,
> Brian
> On Jul 3, 12:44 am, jarthel <jart...@gmail.com> wrote:
> > like the event is a hidden form field. in the case of links, you're
> > submitting the form via the onclick event.
> > in my experience, it seems to work fine except when using the link.
> > maybe you have similar experiences and solved it?
> > please share. thank you :)
> > jayel