[ic] Lower To Upper Case???

Mike Heins interchange-users@interchange.redhat.com
Fri Nov 16 21:20:00 2001


Quoting Jim Balcom (jim@idk-enterprises.com):
> On Thu, 15 Nov 2001, Mike Heins wrote:
> 
> MH>>> [filter op=uc interpolate=1][value var=mv_order_item][/filter]
> MH>>>
> MH>>
> MH>>True, but also
> MH>>
> MH>>	[value name=mv_order_item filter=uc]
> 
> Thanks for the hints, but
> I don't understand where to put this.
> 
>         <tr>
>         <td align="center"><font __FFACE__ size="1">
>         <font color="white"><b>SKU: </b></font></font>
>         <input type="text" name="mv_order_item" size="10">
> 	[value name=mv_order_item filter=uc]
>         </td></tr>
> 
> doesn't do it. at-m does not get put in the cart, but AT-M does.

I didn't understand what you were trying to do. If you *always* want
mv_order_item to be upper case, in every instance, put in catalog.cfg:

	Filter  mv_order_item  uc

If you only want it in some cases, put in a page:

	[input-filter name=mv_order_item op=uc][/input-filter]

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers