[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] knowing previous form...
****** message to minivend-users from Eugene Apanasenko <evlap@janzen-express.com> ******
Thanks for your reply...
But there is a problem... I'd like to analise the variable in my results.html. And I'd like to set
the variable to "search" when I pressed "Search" button only. Now the problem: I have this form in
the LEFTSIDE file and if I'd done
[set name="PREV_FORM"]SEARCH[/set]
somewhere in LEFTSIDE I'd always have this variable set to "SEARCH".
I use
<FORM NAME=search METHOD="POST" ACTION="[process-search]" onSubmit="return checkit()">
and not
<form action="[process-target]"...>
so
<INPUT TYPE="hidden" NAME="PREV_FORM" VALUE="SEARCH">
wouldn't work for me either...
Any suggestions will be very appreciated.
Eugene.
> ***** message to minivend-users from Ed LaFrance <edl@newmediaems.com> ******
>
> If you use <form action="[process-target]"...> this should work, otherwise
> you may want to set a scratch variable on the source form page to the name
> of the form, and reference that on the target page instead.
>
> - Ed L.
>
> At 05:54 PM 6/30/00 +0200, you wrote:
> >****** message to minivend-users from Eugene Apanasenko
> ><evlap@janzen-express.com> ******
> >
> >Hi MailList!
> >
> >I've got a problem: how can I know from which form I came to this page? I
> >tried
> ><FORM...>
> >... <INPUT TYPE="hidden" NAME="form_name" VALUE="form1">...
> ></FORM>
> >but [value form_name] is always empty...
> >Where is my mistake?
> >
> >Regards, Eugene
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list