I’m new to Wappler and have been making good progress on a project. I have successfully connected Table Plus with a database I’ve coded to Wappler and have started introducing CRUD functions. I have all the server-side logic on the Wappler side, but when I enter the browser to test for some reason my form won’t submit any information to the database. It works the other way around through where if I input information into Table Plus it’ll show on Wappler. I get the following error message below; any help would be appreciated! Thanks everyone.
A common error for this is not designating your button as a ‘submit’ button in the Button Properties panel - the type defaults to ‘Default’ so has to be changed for your form.
Also, designate your form as a ‘Server Connect’ form and select the relevant server connect API, once done, use the on click event to have your submit button load the server connect action in the form.
I’m on a 'phone right now so cant screenshot for you…
When you open your page in the browser, open the browser devtools and watch the network tab, then submit your insert request and see what it actually submits for data and the response it gets.
I believe the issue is that my create isn’t putting in my Company_ID auto incrementing, but my Update function does have the Company_ID. I’m not sure how to fix this
see here. There isn’t a company ID, but if I insert from my database side it will have a company ID in the update field. This is very puzzling for me. My data type is set to increment as well. So that isn’t the issue.