Skip navigation
Nevermynd
Currently Being Moderated

can you combine 2 actions?

Mar 16, 2008 3:58 PM

I am wondering is there a way to activate 2 actions at once when the submit button is pressed?
I have a form that I have set up to send info to a database which is activated by this "<%=MM_editActions%>"
but I also have another script in another asp page named "RegFormMailer.asp" that sends the form owner an email.
But I only know how to do one or the other.
Can I put TWO actions in the action field in dreamweavers property panel?
Something like "<%=MM_editActions%>" + "RegFormMailer.asp"?

Thank you, I am VERY new to dynamic site/and scripting. Just used to static sites.
 
Replies
  • Currently Being Moderated
    Mar 16, 2008 4:06 PM   in reply to Nevermynd
    .oO(Nevermynd)

    >I am wondering is there a way to activate 2 actions at once when the submit
    >button is pressed?

    One form, one action. Of course you can do whatever you want in the
    processing script.

    > I have a form that I have set up to send info to a database which is activated
    >by this "<%=MM_editActions%>"
    > but I also have another script in another asp page named "RegFormMailer.asp"
    >that sends the form owner an email.
    > But I only know how to do one or the other.
    > Can I put TWO actions in the action field in dreamweavers property panel?
    > Something like "<%=MM_editActions%>" + "RegFormMailer.asp"?

    No. You have to combine them both on the server.

    Micha
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 17, 2008 10:42 AM   in reply to Newsgroup_User
    .oO(Nevermynd)

    >Michael, (or anyone) when you say I have to combine them on the server, can you
    >elaborate a bit? I am very new to server application web design.
    >
    > Do you mean, put both tasks all in one script?

    Yes, that's what I meant. Your script can do a hundred tasks if
    necessary. I just can't help you with ASP code (I'm on PHP).

    Micha
     
    |
    Mark as:
  • Currently Being Moderated
    Oct 5, 2011 6:10 AM   in reply to Newsgroup_User

    @Nevermynd,

    Did you ever find a solution to this problem?

    I m having the same issue.

     

    thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points