[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] knowing previous form...
****** message to minivend-users from Ed LaFrance <edl@newmediaems.com> ******
Eugene -
Perhaps you could use
<form action="[process-target]" method=post>
<input type=hidden name=mv_todo value=search>
<input type=hidden name=prev_form value=this_form>
.
.
.
</form>
... in this way the values set on this form would be available on the
search results page, like [value prev_form].
- Ed L.
At 09:00 AM 7/1/00 +0200, you wrote:
>****** 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| New Media E.M.S. Software Solutions for Business |
| 12831 Blanco Ct. Consulting |
| Poway, CA 92064 U.S.A. Custom Programming |
| 858-486-6508 Internet and eCommerce |
| 630-604-4265 eFax |
| edl@newmediaems.com |
| http://www.newmediaems.com |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
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