[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
RE: [ic] loosing a [value ] <- Partially solved, need more help
I found out a way in getting the active value...
[perl]$CGI->{group}[/perl]
But, how do I get a value pulled out from a db, like:
[data table=cat field=category key='[value group]']" hide=1]
How do it make the above query in Perl?
Regards, René
> -----Original Message-----
> From: interchange-users-admin@lists.akopia.com
> [mailto:interchange-users-admin@lists.akopia.com]On Behalf Of Rene
> Hertell
> Sent: 17 April 2001 17:44
> To: Interchange-Users
> Subject: [ic] loosing a [value ]
>
>
> Hi list,
>
> I have been banging my head against the wall for the last 12 hours... I'm
> loosing somehow my [value group] somewhere...
>
> Here is a bit of my code (I hope this is enough... I'll post some
> more if it
> is needed)
>
> [set [L]Send your bid-request![/L]]
> [seti rfields]
> code: [scratch reqnr]
> cat_id: [value cat_selection]
> category: [value toimiala]
> brand_id: [value group]
> brand: [data table=cars field=brand key="[value group]"]
> description: [value brand]
> comments: [value comments]
> quantity: [value quantity]
> location: [value region]
> email: [value email]
> user_locale: [scratch mv_locale]
> req_date: [convert-date][/convert-date]
> req_ip: [data session host]
> req_browser: [data session browser]
> [/seti]
> .....
> [/set]
>
>
> <INPUT TYPE="hidden" NAME="mv_todo" VALUE="refresh">
> <SELECT NAME=group>
> <OPTION VALUE="asdf">- [loc]Select your product group[/loc]
> [loop search="
> fi=cars
> rf=sku,brand
> sf=category
> se='[value cat_selection]'
> un=yes
> tf=brand
> " option="group"]
> <OPTION VALUE="[loop-code]"> [loc][loop-data cars
> brand][/loc][/loop]
> </SELECT>
>
> <INPUT TYPE=submit NAME=mv_click VALUE="[L]Send your
> bid-request![/L]"></B></FONT></FORM>
>
>
> If I submit the default <select> value (asdf), it gets into the [value
> group] and is placed into the [seti] tag, but if I select
> something from the
> option-list (numeric values) it disappears somewhere. It is anyway
> displayable outside the [seti rfields] section...
>
>
> I'm tired now, so sorry it this message is dizzy...
>
>
> Regards, René
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users