Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Forms in a Custom Controller


Go to End
Reply


10 Posts   2813 Views

Avatar
Willr

Forum Moderator, 5513 Posts

13 January 2010 at 11:20am

Well if you have a $newOrder in your template then it should call the ViewableData template and include the form. If you're trying to access the form directly eg - www.site.com/fastfood/newOrder/ that will fail since your returning a form, rather then a template which has a form. What you might want to do is make a middle man template like site.com/fastfood/order/ then on that order template have your $newOrder var.

Avatar
tbarho

Community Member, 41 Posts

13 January 2010 at 11:29am

Does it matter that I am inheriting from Controller instead of Page_Controller? I still can't seem to get it working, doing what you suggested. Thanks!

Go to Top