submit form in database

the form code looks ok. maybe the problem is in the routing or the controller. could be the model too, if you use validations that may fail.

does the action in the controller get called? does it get the params with form data?