[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] v3.14 extracting [value mv_searchspec]
****** message to minivend-users from Ed LaFrance <edlafrance@printexusa.com> ******
Brent - I think you need to use the INTERPOLATE=1 option on your [perl]
tag. I believe this will force minivend to evaluate '[value
mv_searchspec]' instead of treating it as a literal string.
- Ed L.
>****** message to minivend-users from "Brent Worley" <brent@12ave.com>
>******
>
>I appreciate the help thus far, but I have ran into a slight problem. I
>have built up mv_searchspec over several pages using javascript to seperate
>the individual values by spaces:
>
>function SetArgs()
> {
> var frm = document.mv_value;
> frm.mv_searchspec.value = "Sansabelt" + " " + frm.waist.value + " " +
>frm.stride.value;
> }
>
>I've used code similar to this on all the pages. When I get to the last
>page I am trying to extract the individual values using perl:
>
>[perl scratch]
> my $msg = '[value mv_searchspec]';
> my @test = split(/\0/, $msg);
> $Safe{'scratch'}{'Manuf'}=@test[0];
> $Safe{'scratch'}{'Waist'}=@test[1];
> $Safe{'scratch'}{'Stride'}=@test[2];
> $Safe{'scratch'}{'Fabric'}=@test[3];
>[/perl]
>
>I've found code like this within the list archives and have yet to find
>anything that works. This is what happens: Within this last page, I dump
>all the scratch variables to the page to see what each array element was set
>to. Instead of returning what is in mv_searchspec I return [value
>mv_searchspec] (<- that is what is actually displayed on the page). I've
>tried other types of delimiters, but to no avail. This is the last part of
>a very lengthy and important project, and I hate to know I've come this far
>and cannot get pass one minor detail. I'm not sure of the version of perl,
>but I think it is fairly recent. Any help anyone can offer will be greatly
>appreciated.
>
>
>Brent Worley
>
>-
>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