You can't call two cgi's with the same submit. You need to incorporate one into the other -- or call the other from the program.
You might want to have card.cgi check to see if there was an $in->param sent, and if so, call the routine to run the newsletter code.
This has been requested several times, and I'm working on some code for NG version that will intercept the final calls to add, modify, etc and check to see if any "other" parameters were set. If so, take some action. You can define the parameter and the action to be taken if that parameter is set.
This is generic -- and requested -- enough that maybe Alex will want to add this into the core code. It's really an upgrade to the plug-in system, where the plug-in dispatch looks for certain parameters (a set up to the dispatch program) and automatically runs code rather than sending it to a plug in. (subtle differences).
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ
You might want to have card.cgi check to see if there was an $in->param sent, and if so, call the routine to run the newsletter code.
This has been requested several times, and I'm working on some code for NG version that will intercept the final calls to add, modify, etc and check to see if any "other" parameters were set. If so, take some action. You can define the parameter and the action to be taken if that parameter is set.
This is generic -- and requested -- enough that maybe Alex will want to add this into the core code. It's really an upgrade to the plug-in system, where the plug-in dispatch looks for certain parameters (a set up to the dispatch program) and automatically runs code rather than sending it to a plug in. (subtle differences).
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ