When are blogs deleted from the list of the blogs I've read?
CFINCLUDEs in a form?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ColdFusion > CFINCLUDEs in a form? 23 August 2004 21:10:45

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

CFINCLUDEs in a form?

Tim Claremont 23 August 2004 21:10:45
 I have a bunch of oft-used CFSELECTS that show up on a bunch of different forms within my application. Thus, I wanted to put them in an "includes" directory and reference them with CFINCLUDE on my various forms.

However, wherever I place a CFINCLUDE statement within one of my forms, the submit and clear buttons no longer work. No error message, they simply do not respond. If I comment out the CFINCLUDES, the form operates normally.

Is it possible to use a CFINCLUDE within CFFORM?

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=39

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:175547
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Ben Doom 23 August 2004 20:53:36 permanent link ]
 It's absolutely possible. I've done exactly what you're doing a number
of times.

Is it possible you're adding new headers? Accidentally embedding extra
form tags? Is the include *only* the select and options, or does it
have other things in it?

--Ben

Tim Claremont wrote:
I have a bunch of oft-used CFSELECTS that show up on a bunch of different forms within my application. Thus, I wanted to put them in an "includes" directory and reference them with CFINCLUDE on my various forms.>
However, wherever I place a CFINCLUDE statement within one of my forms, the submit and clear buttons no longer work. No error message, they simply do not respond. If I comment out the CFINCLUDES, the form operates normally.>
Is it possible to use a CFINCLUDE within CFFORM?>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Get the mailserver that powers this list at
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=17

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:175550
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Ray Champagne 23 August 2004 21:00:12 permanent link ]
 sounds like you're missing the <form></form> tags surrounding your form.

Ray

At 01:42 PM 8/23/2004, you wrote:>I have a bunch of oft-used CFSELECTS that show up on a bunch of different >forms within my application. Thus, I wanted to put them in an "includes" >directory and reference them with CFINCLUDE on my various forms.>
However, wherever I place a CFINCLUDE statement within one of my forms, >the submit and clear buttons no longer work. No error message, they simply >do not respond. If I comment out the CFINCLUDES, the form operates normally.>
Is it possible to use a CFINCLUDE within CFFORM?>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=39

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:175552
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Tim Claremont 23 August 2004 21:10:45 permanent link ]
 Criminy. I had left the </CFFORM> tags in the include file, as well as used them in the main page. Therefore I had two sets of CFFORM tags.


sounds like you're missing the <form></form> tags surrounding your form.>
At 01:42 PM 8/23/2004, you wrote:>>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=34

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:175553
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ColdFusion > CFINCLUDEs in a form? 23 August 2004 21:10:45

see also:
Re: WWW::Mechanize question / array…
Incrementing during a regexp…
Newbie: Perl reg. expression
пройди тесты:
see also:
A new type of computer monitor
Employee Monitoring software review…
Review on Any DVD Cloner

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .