Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
gen23 #1
calling two Actions in a form
Hi,
I am creating a php program with an HTML integration. Within my HTML code, I
called two buttons... my question is, how can I call two different actions or
page using a single form? Is this correct?
<form method = "POST" action = "/module/Default/action/Add" , action =
"/module/Default/action/Search">
<input type="submit" name="submit" value="submit">
<input type="submit" name="search" value="search">
<input type= "text" name="search">
Thank you....
:o
gen23 Guest
-
using the redirect command with form actions
i am trying to have a form post first to a cfm scripting page with a mailto function, and then repost to another form action. i tried to write the... -
form with alternation of two actions
well i have a form where i select with checkboxes some data and i want to have two buttons. the first will be the <delete> action ->going in... -
calling actions from a script and vice versa (CS)
Hey I just realized that I can automate a lot of my workflow in illustrator with applescript (I never realized it was scriptable) and I'm running... -
Calling functions from Button actions
<? function func1() { } function func2() { } function func3() { } -
[PHP] Calling functions from Button actions
I would assume you are referring to PHP functions since that is the nature of this list and since PHP only really executes on a web server, and since... -
rob::digitalburn #2
Re: calling two Actions in a form
I don't think you can do that. What you can do is eiter have two separate
forms, or, instead of having a submit button, have a link to a JavaScript
function of the type:
<a href="javascript:submitForm('form_id','action_type ')">submit</a>
which dynamically sets the action of the form to 'action_type' and then
submits the form. You'll have to give the form an id property to do this.
gen23 wrote:> Hi,
>
> I am creating a php program with an HTML integration. Within my HTML
> code, I called two buttons... my question is, how can I call two
> different actions or page using a single form? Is this correct?
>
> <form method = "POST" action = "/module/Default/action/Add" , action
> = "/module/Default/action/Search">
>
> <input type="submit" name="submit" value="submit">
> <input type="submit" name="search" value="search">
> <input type= "text" name="search">
>
> Thank you....
>
> :o
rob::digitalburn Guest
-
Murray *TMM* #3
Re: calling two Actions in a form
There is an extension at Marja Ribbers-de Vroed's site
[url]http://www.flevooware.nl/dreamweaver[/url] for doing that.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"gen23" <webforumsuser@macromedia.com> wrote in message
news:d4dpmo$7ks$1@forums.macromedia.com...> Hi,
>
> I am creating a php program with an HTML integration. Within my HTML code,
> I
> called two buttons... my question is, how can I call two different actions
> or
> page using a single form? Is this correct?
>
> <form method = "POST" action = "/module/Default/action/Add" , action =
> "/module/Default/action/Search">
>
> <input type="submit" name="submit" value="submit">
> <input type="submit" name="search" value="search">
> <input type= "text" name="search">
>
> Thank you....
>
> :o
>
Murray *TMM* Guest



Reply With Quote

