Sep 4, 2000 #1 AlexUK Programmer Jun 26, 2000 24 GB i would like to create a user interface for collecting email addresses (for a newsletter). any suggestions for good tutorials/ thanks
i would like to create a user interface for collecting email addresses (for a newsletter). any suggestions for good tutorials/ thanks
Sep 5, 2000 #2 liark Programmer Apr 18, 2000 36 GB Email collection page (collect.cfm) <cfform action="maillist.cfm" method="POST"> <cfinput type="text" name="email" size="10" maxlength="50"><br> <input type="Submit" value="Join!"><br> </cfform> Send us your mail<br> address to receive<br our Newsletter!<br> Action Page (maillist.cfm) <CFINSERT datasource="yourdatasource" tablename="maillist" dbtype="ODBC"> <!--- Back to input page ---> <cflocation url="collect.cfm"> <!--- End ---> To verify email address format, I use CF_EmailVerify, so maillist.cfm looks like: <CF_EmailVerify Email="#email#"> <CFIF #emailerror# EQ 1> <cflocation url="leftframe.cfm"> </cfif> <CFINSERT datasource="yourdatasource" tablename="maillist" dbtype="ODBC"> <!--- Back to input page ---> <cflocation url="collect.cfm"> Upvote 0 Downvote
Email collection page (collect.cfm) <cfform action="maillist.cfm" method="POST"> <cfinput type="text" name="email" size="10" maxlength="50"><br> <input type="Submit" value="Join!"><br> </cfform> Send us your mail<br> address to receive<br our Newsletter!<br> Action Page (maillist.cfm) <CFINSERT datasource="yourdatasource" tablename="maillist" dbtype="ODBC"> <!--- Back to input page ---> <cflocation url="collect.cfm"> <!--- End ---> To verify email address format, I use CF_EmailVerify, so maillist.cfm looks like: <CF_EmailVerify Email="#email#"> <CFIF #emailerror# EQ 1> <cflocation url="leftframe.cfm"> </cfif> <CFINSERT datasource="yourdatasource" tablename="maillist" dbtype="ODBC"> <!--- Back to input page ---> <cflocation url="collect.cfm">
Sep 5, 2000 1 Thread starter #3 AlexUK Programmer Jun 26, 2000 24 GB liark thanks, that answers my nest question as well alex Upvote 0 Downvote