October 16, 200124 yr I have form with this code: <INPUT TYPE="submit" NAME="-Edit" VALUE="Submit"> and the 5 mail tags plus the necessary text file and it sends a mail just fine. BUT I also have a form with this code: <INPUT TYPE="submit" NAME="-New" VALUE="Submit"> for the submit button, and the same mail tags (with a different text file specified) and it does not send mail. Does using " -new" mess up the use of mail tags??
October 30, 200124 yr I guess it will not send the fields, because they are empty or they do not exist yet.
October 31, 200124 yr Cannot be done in one step because as Anatoli reports the record does not exist yet. Instead it'll have to be done in two steps: submit form that creates record and displays record on "record created" confirmation page; user clicks submit button on confirmation page or auto-click to send e-mail. Obviously this can be worke around if second submit is not processed by user.
October 31, 200124 yr If I can elaborate further, if you will create blank record before people are filling the form and then you will submit (your first example with -edit) you'll get the functionality. You can do that (blank record) by JavaScript or Frames, combination of both etc.
Create an account or sign in to comment