dmcwhirt Posted October 16, 2001 Posted October 16, 2001 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??
Anatoli Posted October 30, 2001 Posted October 30, 2001 I guess it will not send the fields, because they are empty or they do not exist yet.
Vaughan Posted October 31, 2001 Posted October 31, 2001 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.
Anatoli Posted October 31, 2001 Posted October 31, 2001 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.
Recommended Posts
This topic is 8493 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now