Comments form

i want to make a simple 3 fields name,e-mail and comments
form inside my web site and when the
visitor click submit it i will recieve it as un e-mail.
Thanks

:-P
Lawrence Cramer
*Adobe Community Expert* - Dreamweaver -
http://tinyurl.com/jhnyq
email: lawrence at cartweaver dot com
Cartweaver CF, ASP & PHP Shopping Cart for Dreamweaver
www.cartweaver.com
news://support.cartweaver.com
=====================================================
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> It's still #2. 8)
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Lawrence *Adobe Community Expert*"
<[email protected]> wrote
> in message news:[email protected]...
>> Well, yes and no - a CGI / Perl script will work
without the file needing
>> to be an .asp, .php, or .cfm and does not require
the host to support one
>> of these- true it is a server side script, but it
will work on most any
>> web server, so it's a little different approach. The
CF / PHP/ ASP way
>> would be my preference, but these scripts are an
alternative for an HTML
>> only site. Splitting hairs here I guess. You say
tomAto I say tomAHto
>>
>> --
>> Lawrence Cramer
>> *Adobe Community Expert* - Dreamweaver -
http://tinyurl.com/jhnyq
>> email: lawrence at cartweaver dot com
>>
>> Cartweaver CF, ASP & PHP Shopping Cart for
Dreamweaver
>> www.cartweaver.com
>> news://support.cartweaver.com
>>
=====================================================
>>
>>
>>
>> "Murray *ACE*"
<[email protected]> wrote in message
>> news:[email protected]...
>>> But that's option 2.
>>>
>>> --
>>> Murray --- ICQ 71997575
>>> Adobe Community Expert
>>> (If you *MUST* email me, don't LAUGH when you do
so!)
>>> ==================
>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>> ==================
>>>
>>>
>>> "Lawrence *Adobe Community Expert*"
<[email protected]>
>>> wrote in message
news:[email protected]...
>>>> There is a third option, you can use a CGI
mail form script. These are
>>>> often a pain to get set up initially since
the documentation is seldom
>>>> as helpful as it could be, but once set up
they are quite reliable.
>>>> Just do a Google search for... CGI Mail form
script - You'll find a
>>>> ton of them. - Matt's Script Archive is a
pretty good source and come
>>>> up on the first page.
>>>>
>>>> --
>>>> Lawrence Cramer
>>>> *Adobe Community Expert* - Dreamweaver -
http://tinyurl.com/jhnyq
>>>> email: lawrence at cartweaver dot com
>>>>
>>>> Cartweaver CF, ASP & PHP Shopping Cart
for Dreamweaver
>>>> www.cartweaver.com
>>>> news://support.cartweaver.com
>>>>
=====================================================
>>>>
>>>>
>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>>I assume you are asking a question rather
than just making a statement.
>>>>>Am I correct? If so, please read on.
>>>>>
>>>>> There are only two ways to process form
data -
>>>>>
>>>>> 1. Use mailto:[email protected] as the
action of the form
>>>>> 2. Use a server-side scripting method to
a) harvest the form's data,
>>>>> b)
>>>>> process it in some manner, e.g., enter
it into a database, c)
>>>>> formulate and
>>>>> send an email to one or more email
recipients, and d) redirect the
>>>>> visitor
>>>>> to some ending page
>>>>>
>>>>> Method 1 is quite simple, and is also
the least reliable. It depends
>>>>> both
>>>>> on your visitor having an email client
already installed on their
>>>>> computer -
>>>>> this eliminates public computers, or
home users without email clients
>>>>> installed (more and more it seems) - and
on the installed email client
>>>>> responding to
>>>>> the mailto call. It is not possible to
use this method *and* send the
>>>>> visitor to a
>>>>> thank you page as well.
>>>>>
>>>>> Method 2 is the preferred method, since
it eliminates the problems of
>>>>> method
>>>>> 1, but it means that you have to grapple
with server-scripting somehow
>>>>> (ASP,
>>>>> CF, PHP, perl, etc.).
>>>>>
>>>>> You would have to decide which of these
methods is best for your
>>>>> needs,
>>>>> but if it's Method 2, then start by
asking your host what they provide
>>>>> for form
>>>>> processing.
>>>>>
>>>>> --
>>>>> Murray --- ICQ 71997575
>>>>> Adobe Community Expert
>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>> ==================
>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>> ==================
>>>>>
>>>>>
>>>>> "ALHUBAIL"
<[email protected]> wrote in message
>>>>>
news:[email protected]...
>>>>>>i want to make a simple 3 fields
name,e-mail and comments form inside
>>>>>>my web site and when the
>>>>>> visitor click submit it i will
recieve it as un e-mail.
>>>>>>
>>>>>> Thanks
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • Need easy to use comments form to post to webpage short-term

    I'm going to create a 90th birthday tribute webpage with photos etc about a former teacher. We have a past pupils (alumni) website for a now closed school. The average age of the people who visit is 55+ and have to keep it basic. I have created php forms to email for those who want to sign on to our database, label photos on the site etc. That's about all our audience can handle. The guestbook has captcha and it just confuses many users even though there are detailed instructions on how to post with photo guided tut as well!
    So I want to put a form under the BD greeting part where they can enter their greeting and hit submit and not bother with captcha. I don't want them to have to register which means they won't be able to edit their comments if there's mistakes.   I'm happy to monitor it daily to weed out any spam, or more likely-- posts with errors or duplicates as it's not going to be around that long.To let people know about the page, we will do a mailing and put the link to the page in the email inviting them to sign the card using the comments form.
    The idea is not to make the page public on the site's homepage until a day or two before his birthday which is in about 2 weeks. Then I plan to put an announcement on our homepage as he regularly visits the site and so it will be a surprise. Then he can visit the bd card page himself and see those who have posted their greetings, etc. Also, it will be there for anyone wants to add to the greetings and keep it open for another week. After that I will remove the form and tell people that if they want to add to the greeting, they can email us and we will post their greeting.
    Someone in our group said perhaps we should just ask for greetings to be sent back to us in the email sending the link and I put them on the site, but it sort of kills the participation factor...we like people to interact with our site. There are a few we know about who will have to have us do it for them because they are not online, but on our telephone list.
    Anyone have advice on how to make this really easy to use for the visitors??? Do I need to worry about script hijackers in this short time-frame?  Do I need to use Google webmaster tools to exclude it from the search engine?
    Thanks so much.... Lew in Bristol UK

    Look at Gentle Source's Comments script (they have front end and back end demos)
    http://www.gentlesource.com/comment-script/
    Do I need to worry about script hijackers in this short time-frame? 
    Any form processing script you run on your server needs to be secure.  Otherwise it's an open invitation to HACKERS and other threats that could compromise your server.  On shared hosting environments, many web hosts require you to use their scripts.  You may wish to ask your host which scripts they recommend.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How to create a comment form in Flash CS3

    I am trying to create an add comment form in Flash cs3. I
    have the background design and the text input areas and sub mit
    buttons. But how do I get the submit button to add the comment to a
    different area in the same flash file? My inputs and buttons are on
    the left side of the stage and my display comments is on the right
    side of the stage. How do I connect the two?

    The user types something into a text input space and when the
    user then uses the submit button, you want that same, user entered,
    text to display in another, different, text area? If that's the
    case then make that second text area a dynamic textfield and set
    its text property to the text property of the input text
    space.

  • Disable "Comments & Forms" in acrobat Print dialog

    Hi,
    I have a requirement whereing the user should not be able to select options in the "Comments & Forms" section of the Print dialog box while trying to print the PDF.

    But you can write a script that will hide all the comments and form fields
    just before the file is printed, and show then just afterwards.

  • How to style the blog comments form

    Hi
    Is there a way to style and remove html syntax such as <br> from the blog comments form?
    see screen shot.
    Thanks

    I've come up with a solution. By listening for ToolTipEvent.TOOL_TIP_SHOW on the data grid with capture, true the event handler has access the toolTip and can use the setStyle method of toolTip to change the styles.

  • Discard all comments, forms and multimedia with scripting

    Hi,
    In the PDF Optimiser under "Discard User Data" there is an option to "Discard all comments, forms and multimedia".
    This will remove multimedia from a pdf file.
    Can any one please advise if this can be done using javascript?
    I have looked in the javascript reference but cannot find anything in relation to this.
    Any assistance will be most appreciated, thank you.

    Thank you very much George.
    I have found where to remove multimedia in preflight under the "Select Single Fix Ups" then "Interactive Elements and Properties" then "Remove 3D annotations"
    I was unable to find this in the "select profiles" section of preflight.
    Placed "Remove 3D Annotations" as the preflight name but the script is not working.
    Can you please advise how I can get the script to work?
    var oProfile = Preflight.getProfileByName("Remove 3D Annotations")
    if( oProfile != undefined )
    var oThermometer = app.thermometer;
    var myPreflightResult = this.preflight( oProfile, false, oThermometer);
    if( myPreflightResult.numErrors > 0 ) {
    console.println( "Preflight found " + myPreflightResult.numErrors + " Errors.");
    } else {
    console.println( "Preflight found no Errors.");

  • Comment Forms? Layers within Tables? Crazy Idea?

    Good Day Dear Folk,
    I have designed a webpage using tables. I want to be able to
    put text in the table with the ability for viewers to scroll within
    the table. Layers have the option for scrolling text, correct? So I
    would like to put a layer in the table. I like using a table to
    center the content of the page. Is there a better way? Also, my
    friend wants visitors to be able to sign up for a newsletter and
    have the ability to leave comments about the site. I know this
    involves forms but I don't know about script writing. I'm more
    concerned about the comment form. She would like the comments to
    post directly to the page. Any ideas? Please help if you can.
    Thanks.

    > i converted my tables to layers and now it's like a
    whole new world.
    This could be equivalent to leaping from the frying pan into
    the volcano. I
    never recommended that you do that. Using Layers as a layout
    method is a
    very bad practice in general.
    1. ... any ideas?
    Are these PNG files NATIVE FW PNG files? Or did you export
    from FW as 8bit
    (or 32bit) PNG files? Try using GIF/JPG images instead.
    > 2. i want to create a page where people can leave a
    comment about the
    > website. i would like the comment to post automatically.
    i'm not sure
    > how
    > involved this is but if you can direct me to what i need
    to do, i would
    > appreciate it. if there is a high learning curve, it's
    ok. i want to
    > learn.
    > am i crazy?
    Crazy? No. It's needs like this that drive you to learn. Such
    a
    capability would require server-side scripting and database
    access. You can
    try some 'canned' approaches by Googling for 'guestbook' and
    see what you
    find....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Itiyopiya Ewart" <[email protected]> wrote
    in message
    news:[email protected]...
    > thanks ACE!
    > i converted my tables to layers and now it's like a
    whole new world.
    > thank
    > you thank you!!! i'm learning css now... i have some
    more questions that
    > i
    > hope you can help me with:
    > 1. i'm using dreamweaver 8. i'm using OSX. my browsers
    for checking my
    > pages are safari, firefox, and opera. for some reason
    certain images
    > won't
    > show in firefox and opera. i can see them in safari, but
    the other two
    > only
    > show the alt image info. this also happens in IE. the
    files are .png.
    > they
    > were all created in photoshop from the same .psd but two
    images for the
    > navigation menu don't show. any ideas?
    >
    > 2. i want to create a page where people can leave a
    comment about the
    > website. i would like the comment to post automatically.
    i'm not sure
    > how
    > involved this is but if you can direct me to what i need
    to do, i would
    > appreciate it. if there is a high learning curve, it's
    ok. i want to
    > learn.
    > am i crazy?
    >
    > thanks!
    >

  • Cannot comment on any blog that has an embedded comment form

    I cannot comment on any blog that has an embedded comment form; e.g., www.blogger.com and www.blogspot.com.
    Apparently, this has been a problem between Firefox and Google for over a year with no definitive resolution.

    I haven't had occasion to try commenting on either a Blogger or Blogspot blog, so I checked a couple past threads on this. Didn't see anything confirmed other than accepting third party cookies.
    You listed several add-ons that might have their own separate restrictions on cookies. Checked these?
    * BetterPrivacy 1.48.2 "Super-Cookie Safeguard"
    * Ghostery 2.2.1
    * Permit Cookies 0.6.2
    To see whether a plain vanilla installation of Firefox works, you could, as a diagnostic, create a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles]. You don't have to use it going forward, but if you can comment in a default configuration, then it's probably an add-on causing the problem.

  • Module comment form returns invalid capture and then unable to rate?

    Hi,
    I have added a comment form to my clients posts on LizClegg.com Blog Post
    To achieve this I just added the module, comment form to the blog posts details layout template.
    This has been unsuccessful as every time I test, the first attempt returns the error;
    "- Please enter the correct Word Verification as seen in the image"
    and then the second attempt returns;
    "ERROR: You are not able to rate this type of item."
    Any suggestions please?

    Hi,
    I have added a comment form to my clients posts on LizClegg.com Blog Post
    To achieve this I just added the module, comment form to the blog posts details layout template.
    This has been unsuccessful as every time I test, the first attempt returns the error;
    "- Please enter the correct Word Verification as seen in the image"
    and then the second attempt returns;
    "ERROR: You are not able to rate this type of item."
    Any suggestions please?

  • Feedback/comments form in Captivate

    I'd like to create a feedback and comments form very similar
    to those shown at the end of the tips and tricks demonstrations
    here.
    Could someone let me know how I should go about this?
    So far I can create a multiple choice question and the long
    answer form, but users have to see the quiz summary and click a
    button to send the results from there, which arrive in csv form. Is
    there any way to let users click Submit, and I receive an email
    showing their multiple choice answers and comments?
    Thanks in advance. :)

    This question has been left alone for 10 days. I suspect the
    reason is htat no one wants to break the bad news. You cannot do
    what you are wanting to do - in Captivate. At least, no way that I
    know of . . . sorry.

  • Comment Form Error

    hi i placed an commenting form in the blogmodule.
    it displays perfectly but when you want to comment it shows this error
    ERROR: You are not able to rate this type of item.
    how to i solve that problem? what is causing it?
    (i already change the comment rules but that didn't work)
    Hope to hear a responds!!
    ( i don't know but on my other questions there are no awnsers for some reason)

    Assuming you placed your comment form into Module Templates / Blog Post Details Layout;
    If you've made used of the toolbox to insert your "Comment Form".....
    You may need to set the comment form action to be "/RatingProcess.aspx?OID={tag_blogpostid}&amp;OTYPE={tag_blogposttype}" as opposed to "/RatingProcess.aspx?OID={module_oid}&OTYPE={module_otype}"

  • Can I add a customer comment form to a standard product manual?

    We just recevied Acrobat X (and Frame 9 before that) and would like to use forms or form fields to get comments back on the docs (pdfs and HTML) from paying customers. So far, I have created a small form in a huge document (only 4-6 pages but with videos, fonts, etc.) and it's too big to email. Can I put it on a repository and get comments back? Is the adobe distribution server the only way to do this? Am I way off base with this concept? Thanks for any suggestions or clarification.

    Dear Ricardo,
    Step1) First create the java script file in that you have to write the following code.
    <script type = "text/javascript">
    function close_windows()
    window.close();
    function DisableBackButton()
    history.forward();
    </script>
    <html>
    <head><title> close </title>
    </head>
    <form>
    <script language="javascript">DisableBackButton();
    </script>
    <body>
    <input type = "button" value = "close" onClick="close_windows();"/>
    </body>
    </form>
    </html>
    step 2) go to se80 in that mime repository go to sap create folder and export the above file.
    step 3) go to your view where you want to add exit button.
               check the link and write the code to your exit button methods.
               http://scn.sap.com/thread/1911320
    Note : It will work only in Internet explorer
    Hope this helps u.,
    Regards,
    Jayesh

  • Add Columns to Sharepoint 2013 blog post comment form

    Hello, I'm trying to customize my blog site and to add two more fields Name and Country when users are posting a new comments. Is there a way to do this in Sharepoint 2013 foundation?
    Thank you.

    Wendy, Please go through this video from
    channel 9 (http://channel9.msdn.com/Blogs/NickDallett/InfoPath-2010-Customize-a-SharePoint-List-Form)  which will uilding froom explain similar form building from scratch.
    As per Peter's replay yes you can update form even after add columns in list and you can add extar control like button to your infopath form.
    Workflows are usually started when creating or updating an item inside a SharePoint document library. 
    Open the workflow in SharePoint Designer and under "Start Options' on the workflow's home page, remove the check from "Start workflow manually...". Be sure the check either "Start on create..." or "Start on change...". In
    your case I think you would use "Start on create...".
    Hope these inputs will help
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Unproffessional Comments form moderators

    Dear Moderators,
    I am member since 2006 and I used to participate in SDN fourum activiely in 2006 and 2007. That this I was the top contributer in From Priting. That  time most of the members used to open threads and once get the answers they used to leave it as it is.
    I used to give a comments in all my threads that "Please Close this thread.. when your problem is solved andReward if Helpful"
    due to my busy work I did not participated in furums since 2 year and since few days I am posting answers. Now also I am using the same comments at the end of my answers.
    I observed that moderators are editing those messages or rejecting the postings. It seems the time has changed and all forum users are aware about how our forum is working..
    One of the moderator kishan P has edited my positng and updted unproffessional comments. like "Welcome to the 21st Century. Do not beg for points."
    I am surprised.... we all are working proffessionals and should have minimum knowldgede of respecting other proffessionals.
    If the moderator really wants to say that donot ask or inform about points I think he can remove the post or edit it.. but I think it is not a proper manner to give such a comments.
    Could you pelase give moderator status to the members who are good professionals or give some training how they have to respond to the new members... the comments should be encuraged enough to invite more professional but not to dissppoint them
    Thank you for understandig...
    /message/9732065#9732065 [original link is broken]

    Naresh and the Community,
    Firstly, my apologies for the unprofessional words used. As has already been stated, there are times when we Moderators snap. This usually happens when a full-time employee with work pressures have to spend part of his time in:
    - Moving 30-40 threads to the right subforum,
    - Lock, edit and warn 10-20 threads
    - Suggest 10-20 postors to use appropriate titles, informative questions, post questions in the right forum etc
    - Edit 5-10 ASAP and Argent requests for answers
    - Read through 10-20 Abuse Reports and act on them
    on a daily basis.
    Some people even after repeated requests and warnings just dont get it. In such cases, we propose their ID for deletion. And in between all these we get posts with a "request" for points - which as you must have found out is pretty obselete. This is where the usual snapping point comes. But yes, you are right we do need to maintain a professional approach.
    As I stated earlier, some users just do not get it after repeated requests. In such cases, we as a moderator resort to various tactics - humour being one of them. This was one such case that probably went horribly wrong for me. And I sincerely apologize. I will be more polite in the future. People who know me here, probably already know I've already sobered a lot after the Moderatoral responsibilty and trying harder at it.
    I would also like to thank you for pointing this out, as it will only make this community a better place for all of us.
    pk

  • cfif form.secret_word EQ #session.secretWord# thank you  cfelse sorry /cfif  

    If users enter the secret_word which coincides with the
    session.secretWord then the form can continue and do its
    validating. If not the form stops and the cfelse message is shown.
    The cfif code is here:
    <cfif form.secret_word EQ #session.secretWord#>
    Thank you for your message.
    <cfelse>
    Sorry, the secret word you entered in the field does not
    match the word in the image
    Please hit your back button</cfif>
    My actionpage is here and I would be very greatful if someone
    could show me where the cfif should go. Thanks:
    <cfinclude template="topnav.cfm">
    <!--- Must create this default structure or we pull an
    error --->
    <cfparam name="session.contact_nfo" default="">
    <cfif NOT IsStruct(session.contact_nfo)>
    <cfset session.contact_nfo = StructNew()>
    </cfif>
    <!-- Now we create default variable using cfparam -->
    <cfparam name="Form.terms" default="NO">
    <cfparam name="session.contact_nfo.Name" default="">
    <cfparam name="Form.Country" default="">
    <cfparam name="Form.City" default="">
    <cfparam name="Form.Telephone" default="">
    <cfparam name="session.contact_nfo.email" default="">
    <cfparam name="session.contact_nfo.comments"
    default="">
    <!-- Now we clear the Session of any Values to allow us to
    place our new form Values passed from our form page -->
    <cfset StructClear(session.contact_nfo)>
    <!-- Now we are placing our Form Values into the Session
    -->
    <cfset session.contact_nfo.terms= form.terms>
    <cfset session.contact_nfo.Name= form.Name>
    <cfset session.contact_nfo.email= form.email>
    <cfset session.contact_nfo.comments= form.comments>
    <!-- Now we are going to do our Error Checking first off
    by creating a value of nothing for the variable we are calling
    Errors -->
    <cfparam name="errors" type="string" default="">
    <!-- As we check for Errors if we find one we place it in
    our List to display to our user making it easy for the end-user to
    correct as they can see the error -->
    <!-- Notice we are not validating the checkbox as it is
    not a required form field -->
    <cfif form.Name EQ "">
    <cfset errors = errors & "<li>You Forgot to
    enter your name!</li>">
    </cfif>
    <!-- Checking the email is a little more complicated so we
    use a regular expression to check and see if there is a email
    address and also is it formed properly -->
    <cfif NOT
    REFindnocase("^[-_!a-z0-9\.]+@([-_a-z0-9]+\.)+[a-z]{2,6}$",
    email)>
    <cfset errors = errors & "<li
    class=""errors"">Your Email Address seems
    incorrect?</li>">
    </cfif>
    <cfif form.comments EQ "">
    <cfset errors = errors & "<li
    class=""errors"">You Forgot to enter a comment!</li>">
    </cfif>
    <cfif errors NEQ "">
    <!-- Here we are collecting the Error Message generated
    by our code and placing them into a list for the user to see -->
    <TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR><P> <TD ALIGN="Left" VALIGN="Top">You
    have some errors in your form submission, please try
    again<br>
    <cfoutput>#errors#</cfoutput></td></P>
    </tr>
    </table>
    <!-- Also take note that the form action is now different
    in that it is carrying the applications session with it which we
    need to make our Application.cfm file work with the action. -->
    <cfoutput>
    <form method="post"
    action="action_form.cfm?#session.UrlToken#">
    <P><TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR> <TD ALIGN="Left" VALIGN="Top">
    <!-- This is how we place our session values into the
    form field also important to note the because we used cfparam in
    the start of this page to assign a default value of "" if there was
    no value originally entered in the form than it will show no value
    here. If we did not use the cfparam tag we would now show an error
    as the session would go looking for a non-existant value -->
    <P>Name: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Name"
    SIZE="40" value="#session.contact_nfo.Name#"></P>
    <P>Country:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Country"
    SIZE="40" value="#Form.Country#"></P>
    <P>City:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="City"
    SIZE="40" value="#Form.City#"></P>
    <P>Telephone:<br>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="Telephone" SIZE="40" value="#Form.Telephone#"></P>
    <P>E-mail: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Email"
    SIZE="40" value="#session.contact_nfo.email#"></P>
    </P>
    <P>Comments: [*]<BR>
    <textarea cols="40" size="40" class="ftforminputsmall"
    rows="2"
    name="comments">#session.contact_nfo.comments#</textarea></P>
    <P>Booking dates:<br>
    <P>From:
    <select name="day" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.day#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="month" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.month#</option></cfloop>
    </select>
    <select name="year" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#">#form.year#</option>
    </cfloop>
    </select>
    </P>
    <P>To:
    <select name="dayto" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.dayto#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="monthto" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.monthto#</option></cfloop>
    </select>
    <select name="yearto" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#"
    selected="selected">#form.yearto#</option>
    </cfloop>
    </select>
    <P>
    <input name="Submit" type="submit"
    CLASS="ftforminputsmall" value="Submit">
    </P>
    </table>
    </form>
    </cfoutput>
    <!-- If no errors were detected we abort the previous code
    and show the next code section -->
    <cfabort>
    </cfif></td></tr>

    Right I´ve put in the cfparams and the cfif at the top
    of the page after the cfinclude.
    However if the word is wrong the page still executes which it
    shouldn´t. It is confusing with all the cfifs but if the
    secret word is wrong the "sorry" message should be shown and the
    page stops (maybe I need cfabort or cfexit?) The message is being
    shown but the page continues. Here is the code:
    <cfinclude template="topnav.cfm">
    <cfparam name="session.secretWord" default="">
    <cfparam name="Form.secret_word" default="">
    <cfif form.secret_word EQ #session.secretWord#>
    Thank you for your message.
    <cfelse>
    Sorry, the secret word you entered in the field does not
    match the word in the image
    Please hit your back button</cfif>
    <!--- Must create this default structure or we pull an
    error --->
    <cfparam name="session.contact_nfo" default="">
    <cfif NOT IsStruct(session.contact_nfo)>
    <cfset session.contact_nfo = StructNew()>
    </cfif>
    <!-- Now we create default variable using cfparam -->
    <cfparam name="Form.terms" default="NO">
    <cfparam name="session.contact_nfo.Name" default="">
    <cfparam name="Form.Country" default="">
    <cfparam name="Form.City" default="">
    <cfparam name="Form.Telephone" default="">
    <cfparam name="session.contact_nfo.email" default="">
    <cfparam name="session.contact_nfo.comments"
    default="">
    <!-- Now we clear the Session of any Values to allow us to
    place our new form Values passed from our form page -->
    <cfset StructClear(session.contact_nfo)>
    <!-- Now we are placing our Form Values into the Session
    -->
    <cfset session.contact_nfo.terms= form.terms>
    <cfset session.contact_nfo.Name= form.Name>
    <cfset session.contact_nfo.email= form.email>
    <cfset session.contact_nfo.comments= form.comments>
    <cfparam name="errors" type="string" default="">
    <cfif form.Name EQ "">
    <cfset errors = errors & "<li>You Forgot to
    enter your name!</li>">
    </cfif>
    <cfif NOT
    REFindnocase("^[-_!a-z0-9\.]+@([-_a-z0-9]+\.)+[a-z]{2,6}$",
    email)>
    <cfset errors = errors & "<li
    class=""errors"">Your Email Address seems
    incorrect?</li>">
    </cfif>
    <cfif form.comments EQ "">
    <cfset errors = errors & "<li
    class=""errors"">You Forgot to enter a comment!</li>">
    </cfif>
    <cfif errors NEQ "">
    <!-- Here we are collecting the Error Message generated
    by our code and placing them into a list for the user to see -->
    <TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR><P> <TD ALIGN="Left" VALIGN="Top">You
    have some errors in your form submission, please try
    again<br>
    <cfoutput>#errors#</cfoutput></td></P>
    </tr>
    </table>
    <!-- basically the same form we used in form.cfm -->
    <cfoutput>
    <form method="post"
    action="action_form.cfm?#session.UrlToken#">
    <P><TABLE class="label1" WIDTH="300" BORDER="0"
    CELLSPACING="0" CELLPADDING="0" ALIGN="Center">
    <TR> <TD ALIGN="Left" VALIGN="Top">
    <P>Name: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Name"
    SIZE="40" value="#session.contact_nfo.Name#"></P>
    <P>Country:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Country"
    SIZE="40" value="#Form.Country#"></P>
    <P>City:<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="City"
    SIZE="40" value="#Form.City#"></P>
    <P>Telephone:<br>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="Telephone" SIZE="40" value="#Form.Telephone#"></P>
    <P>E-mail: [*]<br>
    <INPUT TYPE="Text" class="ftforminputsmall" NAME="Email"
    SIZE="40" value="#session.contact_nfo.email#"></P>
    </P>
    <P>Secret word: [*]<br>
    <cfinvoke webservice="
    http://www.easycfm.com/webservices/captcha.cfc?wsdl"
    method="generateCaptcha"
    returnvariable="easyCaptcha">
    <cfinvokeargument name="height" value="100"/>
    <cfinvokeargument name="YPos" value="20"/>
    </cfinvoke> </P>
    <P><cfset session.secretWord =
    easyCaptcha.CAPTCHAWORD>
    <cfoutput>
    <img src="#easyCaptcha.IMAGE#"
    border="0"></cfoutput></P>
    <P><div="label1"> Please retype the Secret Word
    in the field below. This is a simple security
    matter to protect the information we receive through this
    form.</div></P>
    <P>
    <INPUT TYPE="Text" class="ftforminputsmall"
    NAME="secret_word" SIZE="40"></P>
    <P>Comments: [*]<BR>
    <textarea cols="40" size="40" class="ftforminputsmall"
    rows="2"
    name="comments">#session.contact_nfo.comments#</textarea></P>
    <P>Booking dates:<br>
    <P>From:
    <select name="day" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.day#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="month" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.month#</option></cfloop>
    </select>
    <select name="year" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#">#form.year#</option>
    </cfloop>
    </select>
    </P>
    <P>To:
    <select name="dayto" class="ftforminputsmall">
    <cfloop from="1" to="31" index="i">
    <option value="#i#"
    selected="selected">#form.dayto#</option>
    </cfloop>
    </select>
    <cfset monthList =
    "January,February,March,April,May,June,July,August,September,October,November,December"
    />
    <select name="monthto" class="ftforminputsmall">
    <cfloop list="#monthList#" index="m"> <option
    value="#m#"
    selected="selected">#form.monthto#</option></cfloop>
    </select>
    <select name="yearto" class="ftforminputsmall">
    <cfloop from="2006" to="2020" index="i">
    <option value="#i#"
    selected="selected">#form.yearto#</option>
    </cfloop>
    </select>
    <P>
    <input name="Submit" type="submit"
    CLASS="ftforminputsmall" value="Submit">
    </P>
    </table>
    </form>
    </cfoutput>
    <!-- If no errors were detected we abort the previous code
    and show the next code section -->
    <cfabort>
    </cfif></td></tr>
    <!-- In this next section we can now take our form values
    and do what ever we decide to do with them i.e. mailing them to
    ourselves, placing them into a database, or a combination of both.
    In this section it is wise to let the user know that his
    information has been received as coldfusion has no way of letting
    them know ---->
    <cfmail server="" username="" password="" to="" from=""
    subject="" type="">
    <table><tr>
    <td align="center" bgcolor="##006600"
    class="ftbody"><span class="ftbody2"><strong
    class="label1">Telephone:
    </strong></span></td>
    <td align="center" bgcolor="##006600"
    class="ftbody"><span class="ftbody2"><strong
    class="label1"><cfoutput>#Trim(FORM.name)#</cfoutput></strong></span></td>
    </tr></cfmail>

Maybe you are looking for

  • How do I deauthorize all my computers in Itunes?

    How do I deauthorize all my computers in Itunes?  I have gotten a new computer every two or three years and then given them away when I got the next one.  I just got a new Dell Precision Work Station and am trying to get ITunes up and going.  However

  • Front Row doesn't show video podcasts

    Here's the problem for some reason Front Row does not see the Video Podcasts that are on my MBP anymore. Although it did before. Now when I go into Video Podcasts I get an error telling that I don't have any video podcasts in my iTunes library even t

  • Countdown to a specific time (Not Midnight)

    Hello All; I have to quickly make a countdown timer for a website that counts down to a specific date & time (Not midnight). I need like May 4th, 2011 at 9:10 AM. I used a tutorial to create a timer that counts down to midnight but need to modify it

  • A particular song crashes at start-up.

    Hi All, this has never happened before. I have one particular song that won't load at all, Logic crashes right away. I have no idea why, I ran Disk Warrior on all my HD's but it didn't help at all. anyone know how to remedy this?

  • Interaction ABAP Web Dynpro popup with Windows

    Hello, I have made a view ‘Z_Y’ in Web dynpro for ABAP. In this view I call a standard external window with the statement:   lo_window = lo_window_manager->create_external_window( url = lf_url ).   lo_window->open( ). The lf_url field is a location o