Efficient and affordable software for Macintosh - Maker of MaxBulk Mailer, eMail extractor, eMail Checker, e-Mail Bounce Handler

Home

Products

Downloads

News

Store

Support

Forums

Forums

It is currently Fri May 24, 2013 3:06 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri Mar 06, 2009 7:22 pm 
Offline

Joined: Sat Jan 31, 2009 2:56 am
Posts: 15
Thank you again. I think I have enough info to be dangerous now. I appreciate all your time!


Top
 Profile  
 
 Post subject: Modify the form?
PostPosted: Thu Mar 19, 2009 9:47 pm 
Offline

Joined: Sat Jan 31, 2009 2:56 am
Posts: 15
Hi again,

Things are going great with the MLM. I'd like to be able to remove fields for First name and Last name in one instance. So for example, I'm using the

subscribe_single_fixed.php

file that asks for email, first, last. Can you tell me how to modify that file to just ask for email? I know it's just a matter of excluding some of the PHP but I've tried in a couple cases and just get errors.

Any input is most appreciated.

Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 20, 2009 11:46 am 
Offline
Site Admin
User avatar

Joined: Wed Dec 28, 2005 9:13 pm
Posts: 6732
Just load the file with Dreamweaver and remove those fields. That's all.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Fri Mar 20, 2009 1:36 pm 
Offline

Joined: Sat Jan 31, 2009 2:56 am
Posts: 15
Hmm, well it can't be much easier than that! I did try that but I also renamed the file and it seemed like it was error checking and going back to the original file. I'll try again. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 20, 2009 9:57 pm 
Offline

Joined: Sat Jan 31, 2009 2:56 am
Posts: 15
Ok I tried it again but didn't change the file name as to not mess anything up. So my input form shows just what I want but when you submit it I get an error that says:

Please fix the following issues
Enter your fist name in the fist name text box
Enter your last name in the last name text box

Do I need to change something so that it's not checking for those fields?

Thanks much!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 23, 2009 11:29 am 
Offline
Site Admin
User avatar

Joined: Wed Dec 28, 2005 9:13 pm
Posts: 6732
Yes, remove the PHP code related to those imputs. You should remove:

if ( isset( $_REQUEST['firstname'] ) && !empty( $_REQUEST['firstname'] ) ) { $firstname = $_REQUEST['firstname']; }
if ( isset( $_REQUEST['lastname'] ) && !empty( $_REQUEST['lastname'] ) ) { $lastname = $_REQUEST['lastname']; }

and

if ( $firstname == "" ) { $errors[] = "Enter your fist name in the fist name text box"; $wrong['firstname'] = TRUE; }
if ( $lastname == "" ) { $errors[] = "Enter your last name in the last name text box"; $wrong['lastname'] = TRUE; }

Those lines are on the very beginning of the file.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Mar 23, 2009 10:32 pm 
Offline

Joined: Sat Jan 31, 2009 2:56 am
Posts: 15
Thanks again, that's just what I needed!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Home

Products

Downloads

News

Store

Support

Forums


Maxprog ® - MAX Programming, LLC - © 2001-2006 - All Rights reserved
Company Info | Site Map | Legal Notice | Privacy Policy | Jobs