Hi MaxBarrass, I have not test this on the publish instance yet. I am testing this on the author instance first. I forgot to add the datasource and now it can write to database. however, the data submitted twice on button click, i found 2 records in "additionalMetaData" table and "metadata" table., but the "data" table is emptied. The submission component indicated that there are two submmited forms, but when i click on "submission" tab there is no form listed. There were no exception thrown, but i checked the browser console, it showed that "item.formName is undefined". I checked the "addionalMetadata" table in MySQL and the formName column is not emptied. Thanks, Ivan