I have a really simple syntax question. I'm trying to parse two text
fields into another single field I can pass to PayPal per their spec.
I just can't seem to figure out the syntax to get the values of these
two fields to display in the new field. Numerical calculations yes,
but not text.
One field, "items_selected," contains a list of items a user has
selected.
<mveval expr="{items_selected}"> produces the correct result.
The other field contains a simple version result.
<mveval expr="{version}"> produces a similarly correct result.
I don't work in Miva much (obvously) and only to edit really. I just
can't seem to work this one out using hunt and peck. It seems as
though this should work, or some variant of it, but no.
<MvASSIGN NAME="item_name" VALUE="{items_selected} for {item
version}">
... or
<MvASSIGN NAME="item_name" VALUE="{items_selected} ' for ' {item
version}">
I tried some ANDs too, but to no avail. Can someone offer a quick
primer on joining two text fields in a calculated result, both for
MvASSIGN NAME and to produce a simple html result?
Thank you in advance.
Gort
<MvASSIGN NAME="item_name" VALUE="{items_selected} for {version}">
or
<MvASSIGN NAME="item_name" VALUE="{items_selected} ' for ' {version}">
On Feb 27, 7:44 pm, "Gort" <big_...@sbcglobal.net> wrote:
> <mveval expr="{items_selected}"> produces the correct result.
>
> The other field contains a simple version result.
>
> <mveval expr="{version}"> produces a similarly correct result.
> <MvASSIGN NAME="item_name" VALUE="{items_selected} for {item
=========================================
William Gilligan
Our Vision is Building Yours.
www.gilliganonline.com
727-373-2536