Link to home
Start Free TrialLog in
Avatar of jcperez2000
jcperez2000

asked on

POINT FOR ken-doh

I may still need help setting this up to work.  Would you be willing to help based on the other question...?

Thank You

Charlie
Avatar of Ken-doh
Ken-doh

sure let me know what help you need :)

thanks
Avatar of jcperez2000

ASKER

If you give a day or so I'll put it together and we'll work from there.  It's just that I'm working on several other questions as well.  You know I wish I could find one expert that could help me all my CF questions. Of course I would post them individually....!

Thanks

Charlie Perez

PS Should I accept the answer now to ensure that you get the points?  Sorry for the ignoracne but as My old man once said "The dumbest question is the one that was never asked!"
ASKER CERTIFIED SOLUTION
Avatar of Ken-doh
Ken-doh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK.  First let me list the projects and functionalities that I have been working on. Because I have a CF server, I would like to run as much as possible using CF code. As I mentioned on my other post, I am rather new to CF and programming altogether so your patience will be greatly appreciated. Here are the projects. What I'd like to do is to attack them one at a time under separate questions.  You let me know where you'd like to start.

1.  NewsLetter Project--User signs up. I'll leave the site running for a while for you to check it out.  It's pretty much a NEWS GATHERER. The objective here is for a user to inser name and email address > Window Pops Thanking The User > Close Window > Information Inserted In DB.  Another expert has helped me quite a bit on this one.  So far, the name and email address and the email type will register in the database. The problems are the UNSUBSCRIBE and validation. The popup window's unsubscribe isn't working and it actually goes to another page.  The other issue is validation. If one submits the form it enters an emptly record in the DB. Are there any advantages of using CFFORM intead of DWMX FORM tag?

2.  NEWSLETTER TEXT OR HTML! NEED TO ADD UNSUBSCRIBE FUNCTIONALITY TO THE HTML EMAILS.

3.  Tell Your Friends (SendLink)--Another expert has been helping as well. The problems so far are VALIDATION and implementing the NEWSLETTER. OBJECTIVE: If the person submits with the check box cheked, then the NAME and the user EMAIL address get registered in the DB.

the site is www.fairtaxusa.org

I'll leave it on for a bit....and let me know how much you can help and which project(s) can we attacck first...

Thanks Again....

Charlie
1: Never use CFFORM always form.
   when doing popups i use this script:


<a href="#" onclick="window.open('#urlvariable#', 'NewWin', 'toolbar=0,scrollbars=1,status=0,resizable=0,width=250, height=80')">text</a>



to make sure that they always put soemthing in the form i use:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function checkfield(passForm) {
       if (passForm.FORMNAME.value =="")
         alert("Please enter text in FORMNAME")
         passForm.FORMNAME.focus()
         return false
}
</SCRIPT>

and then in your form put this in form

onSubmit = "return checkfield(this)"


UNSUBSCRIBE is simpley removing that user from the database after a form.
sql is:
 delete from tablename
 where username='#form.username#'
 and password ='#form.password#'


the newsletter is a case of using that code i pasted in the other post.

adding unsubscribe to the email is simple.
make a hyperlink that goes to your webpage as so
<a href="home.cfm?action=unsubscribe&username=paul&password=test">click to unsubscribe</a>


theres alot there does that help?
THANK YOU.  I wish I could say I do understand. Can we take it one project at time, say let's start with the newsletter issues. Then I can post the other projects under separate questions.  Is that OK?

If I were to ask you get the newsletter and tell-a- friend functionalities to work for me, how much would you charge? I'll worry about learning the code later and perhaps I could post more paid questions asking you to explain the code...

Thanks

Charlie Perez
PS : CFFORM can be used with Onsubmit="return javascript()" as well !!!

try it - it works !

there's nothign wrong with using CFFORM !

just a comment - u can continue on this thread ... with ken-doh

Cheers
Anand
there is technically nothing wrong with cfform BUT it less efficaint than using a form.

so really its better programming practice not to use a cfform because it gives the server more cf to parse as opposed to HTML it just dispalys :)

"I were to ask you get the newsletter and tell-a- friend functionalities to work for me, how much would you charge?"

I cant see the site so I dont know. it must be down and that way you wouldnt learn anything :)

so what are the newsletter issues list them here and we will see what we can do