Results 1 to 3 of 3

Thread: Multiple .ASP ACTIONs from One SUBMIT Within A Form

  1. #1
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Question Multiple .ASP ACTIONs from One SUBMIT Within A Form

    I have x2 ready-made .asp routines available to me.
    One has an ACTION type that sends the contents of the FORM to an email recipient,
    the other ACTION type creates a .csv file - based on the FORM contents.

    What I'd like to do is combine these so that I can, effectively, call the two ACTIONs with just the one click of the SUBMIT button. I've posted this in the ASP forum (as other ASP users may find the solution useful) - though I suspect the solution will be 'Javascript' based.

    Can anyone help please?

    Thanks in advance,

    N.

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You'll need to combine them. How can vary. You might write a third that invokes one then the other. Alternatively, you might combine them to form one process. Either way, the solution is entirely server-side.

    Mike

  3. #3
    Join Date
    Oct 2005
    Location
    Liverpool, UK
    Posts
    87
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks Mike.
    I was hoping I could somehow combine a call (client side) with a bit of clever scripting - but I understand what you mean.

    Cheers,

    N.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •