Is there a way to create a UserDefinedForm with another pagetype other than "contact form?" I am already using contact form, and need to be able to create forms on other pages within the CMS. Can someone please help me figure out how this is done?
Right...But is there a way to make use of the UserDefinedForm class with other pagetypes other than the "contact form" pagetype? Creating a custom form pagetype is an option, I suppose; however I'd like the ability to manage it through the CMS.
The reason I want to use another pagetype in conjunction with the UserDefinedForm class is so I can create different forms on different pages.
I had/have a similar issue. I need a separate TEMPLATE for my form; I.e.: other than Page.ss, for reasons too complicated and boring to go into. SO-- I have followed your advice and created a new pagetype ("ContactForm[.php]") and rebuilt my database and change the pagetype to the new one. My form is all still there in the CMS so I know the extends is working fine.
I also then created my ContactForm.ss template, and coded my special layout. The template is being accessed and used (showtemplate=1). So we're good there. However, for some very frustrating reason, the form I built inside the CMS is not showing up! Although $Content is benig picked up, $Form seems to have NO effect.