[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] mv_click
On Wed, May 09, 2001 at 02:56:35PM -0700, Bill Randle wrote:
> On May 9, 3:46pm, JoshNarins@aol.com wrote:
> } Subject: Re: [ic] mv_click
> }
> } Ed LaFrance <edl@newmediaems.com> wrote...
> }
> } }Your right. It seems that the input type 'image' does not recognize a name
> } }or value attribute - though browsers will be tolerant if you give if
> } }one. You will have to resort to a 'click_map' or a javascript trick (see
> } }the 'Checkout' button on the construct demo basket page) for this. Take a
> } }look at the docs on Forms (Interchange Templates is the correct section, I
> } }think) for info on click maps.
> }
> } Which is where I will be going, but I thought I'd mention that the
> } following does not work.
> }
> } }Try setting your mv_click value as a hidden field in the form. E.g.:
> } }
> } } <INPUT TYPE=hidden NAME=mv_click VALUE="Check for Number">
> } }
> } } Then name your mv_click block:
> } }
> } } [set Check for Number]
> } } [perl]
> } } # your perl code
> } } [/perl]
> } } [/set]
>
> I just ran a test on this and it really does work - at least with
> Minivend 4.04. I took an existing, known working form and modified
> it slightly to use an image instead of a text submit button.
Seems to me that what you are doing with the hidden variable is **always**
setting mv_click and that in turn runs the perl. Couldn't you just
use a profile for this?
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users