Create custom form with customized database

I want to create a customized form, on submitting, submitted data should be stored in customized database.
I have created a form with input fields, and also created customized DB table.
And also tried connecting fields with table fields.
As the fields connecting to the table fields, the input fields is getting disabled by default on publishing in site view.
i followed the documentation for connecting dataset, but still facing the same issue.

Please help me to solve this.
Thanks in advance

Hey!

What mode does the dataset is set to be? (read, write, read-write)
How did you connect the fields to the collection?

Please share a link to your site so we can further investigate and assist.
Note that only authorized personnel can use the link to inspect your site.

Doron.