DotDragnet
February 07, 2012, 02:03:14 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Help decide how we fund DDN and where we take the community from here. Post in the thread all about it: http://www.dotdragnet.com/forum/index.php/topic,4368.0.html
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Form Help  (Read 556 times)
Matt
DDN Contribs
Hero Member
*****
Posts: 1652



View Profile WWW Awards
« on: March 04, 2010, 12:58:42 PM »

Hi all.

Bit of help required please smile

Im creating a system through the schools wordpress website to have a parental mailing list per year group. I am using a plugin called MeeNews which allows me to put a variable into a php call to tell it which list to put the email address in.

Currently the plugin only grabs the email address for the list sign up, there is no way I ca see, other then editing the plugin more then I know how too to create a new table etc etc to link in a Name with the email address.

So I created a sperate form, which asks them for their email and name and confirmation that they want to no longer recieve paper copies of a letter which we then use internally to mark it off on our management system (hence needing a name to know who has opted out)

So - for example - a parent of a sixth form student will go to this page http://www.wolverley.worcs.sch.uk/e-letters/parents-of-sixth-form/ and enter their email address, click ok and then they are registered for email system.

So we have their email address and no name, so we ask them to fill in the form underneath (which we have/could link to after the user confirms their account) which will email us with their name and email address to put into our internal system.

Is there a way for the first script to be included into the second one? but still email one lot of data off to us, and submit the email address into the correct email list?

Does this make sense?!!?! Can anyone help me?!!
Logged

sarahA
DDN Contribs
Hero Member
*****
Posts: 2123



View Profile WWW Awards
« Reply #1 on: March 05, 2010, 02:33:44 PM »

You could have everything in one form and then presumably the plugin will kick in and take what it needs, but you could add your own PHP in to just capture the rest of the form and email it off. There's no reason why you can't process the form twice (once by the plugin and once with your own code) and grab different data off it.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!