Another way to do it that works well is to have your validation function return a boolean value, true if it is a valid address, false if not. Place a call to that function in the onSubmit event handler of your form tag. It will submit as usual if the value returned is true, otherwise the user...
In response to ded's message: I tried that at first, but will not work due to the text present before and after. The evaluate results in an error, for example, #Evaluate("Hi #firstname# #lastname#, how are you?")# generates errors due to the "Hi " in the beginning. The...
I did end up getting it to work, and this is how:
<cfloop query="GetEmails">
<cfquery name="GetEmail" datasource="TAGSQL" username="cfuser" password="jallaire">
SELECT *
FROM LogixNewsletter
WHERE HTML <> 0
AND Subscribed <> 0...
I am trying to add a personal touch to emails using the cfmail tag. What I want to do is include in the header of the newletter the persons first name and/or company. I want to be able to evaluate the text field replacing all cf variable listed in it with the corresponding values from the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.