[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] passing form variable.
****** message to minivend-users from Hans-Joachim Leidinger <hans-joachim.leidinger@home.gelsen-net.de> ******
Ed -
the problem is the name of the variable. Aboubacar has a select box like
<select name="[loop-code].letter1">
^^^^^^^^^^^^
How can you handle a variable name, who is unknown or not static? First,
i have wrote some different solutions with fetching cgi-query-string.
But i donīt know the real problem of Abuobacar and so on, i have deleted
my different solutions and i hope, Aboubacar are able to get the value
of the ( dynamic ) variable. I have not hear about success or not.
Regards,
Joachim
Ed LaFrance wrote:
>
> ****** message to minivend-users from Ed LaFrance <edlafrance@printexusa.com> ******
>
> Joachim -
>
> I am not sure what your vars signify, but the best way I have found to
> carry extra data around the cart system is to declare some item modifiers
> in the catalog.cfg (UseModifier entry). Then I can set them with a form
> fied and display them with an [item-modifie] tag:
>
> In catalog.cfg -
> #
> #
> #UseModifier mymodifier
>
> On the flypage.html or other pertinent page -
>
> for input:
> <input type=text name=mv_order_mymodifier value="[item-modifier mymodifier]">
>
> or just display:
> [item-modifier mymodifier]
>
> You can include the [item-modifier...] tag(s) in you receipt and report
> files as well, and you can insert them in the routine (in the report file
> on the simple demo) for writing an order to transactions db.
>
> - Ed L.
>
> >****** message to minivend-users from Hans-Joachim Leidinger
> ><hans-joachim.leidinger@home.gelsen-net.de> ******
> >
> >Aboubacar Diare wrote:
> >>
> >> ****** message to minivend-users from Aboubacar Diare
> >><asd@sykemo.CCIT.Arizona.EDU> ******
> >>
> >> Hello.
> >>
> >> I am trying to pass values from form fields from page to page. On the docs
> >> it says that minivend passed every decladed vars automaically however i
> >> cannot get the values i am passing to display on any other page. For
> >> example:
> >>
> >> i have
> >>
> >> <FORM ACTION="[process-target]" METHOD=POST>
> >> <font size=-3>
> >> <select name="[loop-code].letter1">
> >> <option value="N/A" [if value [loop-code].letter1 eq
> >> "N/A"]selected[/if]>N/A
> >> <option value="Alpha" [if value [loop-code].letter1 eq
> >> "Alpha"]selected[/if]>Alpha
> >> <option value="Beta" [if value [loop-code].letter1 eq
> >> "Beta"]selected[/if]>Beta
> >> </select>
> >> </form>
> >>
> >> How can i get the value [loop-code].letter1 to display on the basket and
> >> checkout page after someone clicks on buy.
> >>
> >> Thank you.
> >>
> >> Aboubacar.
> >
> >I am not sure about your problem, but you can test this code...
> >
> >the value is : [value [item-code].letter1] <BR>
> >
> >to get the value.
> >
> >Regards,
> >
> >Joachim
> >
> >--
> >-------------Hans-Joachim Leidinger---------------------
> >
> >-
> >To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> >email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> >Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
> -
> PRINTEX Marking Technologies
> 12113 Kirkham Rd.
> Poway, CA 92064 U.S.A.
> (858) 513-2418
> (800) 982-1928
> (858) 513-2419 fax
> edlafrance@printexusa.com
> http://www.printexusa.com
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
--
-------------Hans-Joachim Leidinger---------------------
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list