View Single Post
  #1  
Old 05-21-2015, 05:40 AM
 
cvaughan02 cvaughan02 is offline
 

Member
  
Join Date: Mar 2014
Location: st. louis, mo
Posts: 22
 

Unhappy How to trigger doActionUpdate() in controller?

I need to add a simple form to a page that will trigger the 'update' method of the class. however, I have discovered that I can't just create a form in the template as xcart tells me the form is invalid. what do I need to do to create a simple post event? no fields, just a button that triggers the update method (doActionUpdate).


as a sidenote, does this mean that in xc5 we can't use custom forms that aren't tied to a model?? some of our clients have forms that are provided by third parties, so this might become an issue.
__________________
SEEK HAPPINESS. EVERYTHING ELSE IS DETAILS.

Last edited by cvaughan02 : 05-21-2015 at 06:17 AM. Reason: more accurate title
Reply With Quote