Form Validation and Swift Mailer

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
lenwood
Forum Newbie
Posts: 2
Joined: Sun Jun 22, 2008 10:00 pm
Location: Austin

Form Validation and Swift Mailer

Post by lenwood »

Hi All, I'm using Swift Mailer with a form. I've set it up per the doc on the Swift Mailer site (link below). The problem is that if the form doesn't validate the user is returned to an empty form. Is it possible to not lose their entries while validating?

http://www.swiftmailer.org/wikidocs/v3/ ... /form2mail

Thanks,
Chris
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Form Validation and Swift Mailer

Post by Chris Corbyn »

Look into sessions.

http://php.net/session
Post Reply