Mal1 Posted March 2, 2014 Share Posted March 2, 2014 I'm trying to create a newsletter signup form that asks for a users email and on submit it emails be the submitted email but also posts that email onto another page (with title, name etc.) where the user can submit more details. So far I can get it to pass on to the new page and get the email to automatically post into the extended form which when submitted works fine. But I am stumped on how to do this while sending the initial email as well? I've tried setting the initial action to use php to handle sending the initial email then redirecting to the extended newsletter page but then it doesn't keep the submitted email for the extended form... Sorry if it's not a very clear description. Quote Link to comment https://forums.phpfreaks.com/topic/286657-newsletter-sign-up-form/ Share on other sites More sharing options...
Ch0cu3r Posted March 2, 2014 Share Posted March 2, 2014 (edited) After sending the email, dont redirect. Just display the second form directly after <?php if(signup form has been submitted) { // send email } ?> // display second form Edited March 2, 2014 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/286657-newsletter-sign-up-form/#findComment-1471256 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.