[ic] Re: separating out mv_searchspec and mv_search_field

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Sep 30 17:00:00 2002


Thanh Luong writes: 

> In one instance I have a "joined search" and thus the
> following may return 3 searchspecs and 3 search fields
> depending if the form on the search page was
> completely filled or not. 
> 
> [cgi name=mv_searchspec filter=null_to_space keep=1]
> [cgi name=mv_search_field filter=null_to_space keep=1] 
> 
> I would like to separate the searchspecs and fields
> individually so i can put them in a form sort of like
> this 
> 
> <input type=hidden name=mv_searchspec
> value="first_searchspec">
> <input type=hidden name=mv_search_field
> value="first_search field">
> [if second_searchspec]
> <input type=hidden name=mv_searchspec
> value="second_searchspec">
> <input type=hidden name=mv_search_field
> value="second_search field">
> [/if]
> [if third_searchspec]
> <input type=hidden name=mv_searchspec
> value="third_searchspec">
> <input type=hidden name=mv_search_field
> value="third_search field">
> [/if] 
> 
> Is there a way to pull out the values individually
> that are contained in the searchspec and search_field.

[value-extended] is likely to be your friend. 

Bye
    Racke 


-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.