Name your Submit input....

<cfinput type="submit" name="mysubmit" value="Submit the Form!" />

And yes... You output the  #FORM.InputName#

- Nick

-----Original Message-----
From: John Barrett [mailto:[email protected]] 
Sent: Monday, October 22, 2012 7:13 PM
To: cf-newbie
Subject: cfform issue


Hi can somebody help me with a cfform. I have a cfform, a one text field
form, it keeps asking me fotr the name, but it is in there. Also, when the
user hits the button it goes to another page which I want to display the
data, you would just use: #form.name# ?


<cfform id="newsletter-form" action="newsletter.cfm">
    <cfinput type="text" name="newsletter-text-input"
id="newsletter-text-input">
    <cfinput type="submit" value="" />
</cfform>

than out newsletter.cfm I have:
<cfoutput>#form.newsletter-text-input#</cfoutput>

thanks so much,
Johnny
  
                                                                        



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5952
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to