try <input type=hidden name=mv_searchspec value="[cgi name=mv_searchspec filter=null_to_space keep=1]"> that is the value of your last searchspec hope this helps, tom --- SofaKingRotten <suppressed> wrote: > Hi, > > I use the 'search_box_small' component on the left > side for searching userdb. After a search term is > entered, it takes me to a results page which is > 'members_only' (using [tmp members_only]1[/tmp]). > When > user is not logged in, it takes them to the login > page. After login they are then taken to the results > page, however, I need to pass the mv_searchspec to > this page from the original search. Using hidden > variables, including *this* variable, on the > login.html page, I get the expected results on the > results page: > > <INPUT TYPE="hidden" NAME="mv_searchspec" > VALUE="a_known_valid_search_term"> > > But I can't pass the search term to the results page > using the following: > > <INPUT TYPE="hidden" NAME="mv_searchspec" > VALUE="[value mv_searchspec]"> > > (and also tried VALUE="[data session arg]") > > I also tried using scratch variables within > login.html: > > [set temp_spec][value mv_searchspec][/set] > > <INPUT TYPE="hidden" NAME="mv_searchspec" > VALUE="[scratch temp_spec]"> > > and several variations of the above. I have been > searching the archives and icdevgroup.org but can't > lay my finger on that almighty tag or variable > syntax. > > My complete login.html form is below. > > All suggestions are welcome. > > Thank you. > > SKR > > > <FORM ACTION="[process secure=1]" METHOD=POST> > <INPUT TYPE=hidden NAME=mv_todo VALUE=return> > <INPUT TYPE=hidden NAME=mv_click VALUE=Login> > <INPUT TYPE=hidden NAME=mv_failpage VALUE="login"> > <INPUT TYPE=hidden NAME=mv_successpage > VALUE="[either][scratchd > mv_successpage][or]customerservice[/either]"> > <INPUT TYPE=hidden NAME=mv_nextpage VALUE="index"> > <input type=hidden name=mv_session_id value="[data > session id]"> > > <INPUT TYPE="hidden" NAME="mv_search_file" > VALUE=userdb> > <INPUT TYPE="hidden" NAME="mv_matchlimit" > VALUE="50"> > <INPUT TYPE="hidden" NAME="mv_sort_field" > VALUE="lname"> > <INPUT TYPE="hidden" NAME="mv_sort_field" > VALUE="fname"> > <INPUT TYPE="hidden" NAME="mv_unique" VALUE="1"> > > <INPUT TYPE="hidden" NAME="mv_searchspec" > VALUE="value_from_search_form"> > > <INPUT TYPE="hidden" NAME="mv_search_field" > VALUE="fname"> > <INPUT TYPE="hidden" NAME="mv_coordinate" VALUE="1"> > <INPUT TYPE="hidden" NAME="mv_substring_match" > VALUE="1"> > > <INPUT TYPE="hidden" NAME="mv_search_field" > VALUE="lname"> > <INPUT TYPE="hidden" NAME="mv_coordinate" VALUE="1"> > <INPUT TYPE="hidden" NAME="mv_substring_match" > VALUE="1"> > > <INPUT TYPE="hidden" NAME="mv_search_field" > VALUE="maiden"> > <INPUT TYPE="hidden" NAME="mv_coordinate" VALUE="1"> > <INPUT TYPE="hidden" NAME="mv_substring_match" > VALUE="1"> > > <!-- snip login info --> > > </form> > > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > interchange-users mailing list > suppressed > http://www.icdevgroup.org/mailman/listinfo/interchange-users __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.