Using a custom form to insert data into mySQL database


(Clementoke) #1

I've just attempted using a custom form to insert into a database but nothing happens, the form just reloads as a blank, nothing in the submission logs or incomplete submissions. Nothing shows up in the database either.

The submission action is valid and checks out when I run the same statement in phpMyAdmin so I'm drawing a blank here.

Any ideas?


(Bart Banda) #2

Try checking the Matrix error logs for any issues. Also, try disabling JavaScript and submit the form as well. Do the form submissions get created if you try and disable the form submission action? 


(Clementoke) #3

I got it to work by not using the custom bodycopy. I'll go at it again and see if the review page is the problem as in one instance I didn't have a 'Next' button.


(Clementoke) #4

Turns out that forms don't get submitted if you don't put the right button in the form. I hadn't included the keyword in the form for the submit button, just some empty html code. Doh! Thanks all. As you were.