Multistep form connection to a database except Contacts

I will expand it’s functions later… take a look…
https://www.media-junkie.com/manuscript

You can already change —> Manuscript-Title + Abstract
And also keywords works (but it has still to be modified !!!)

You will see the OUTPUT here…
https://www.media-junkie.com/pflegeservice

First do the right settings, to see your results…
DATABASE: —> “DATA-COLLECTION”
DB-LIMIT: ----> max. 1000
TABLE: ----------> “table1”
REPEATER: ----> “repeater1” OR “repeater2” (your choice).


Setup also the DropDown-settings and Checkbox-Settings (if not done yet).

You will find the settings, when opening the settings menu…


…and going to…PRESETS…

I already installed PRESET-3 for you (but you can change like you want, to see the results in the right view.

Here the working CODE for the Manuscript-Form:

import wixData from 'wix-data';

$w.onReady(function () {
    $w('#btnSAVE').onClick(()=>{
        save_Data()
    })
});


function save_Data (parameter) {
 let toSave = {
 "_id":          "00001",
 "title":        $w('#inputTitle').value,
 "abstract":     $w('#inputAbstract').value,
 "keywords":     ["key1","key2","key3","key4","key5"]
    };

    wixData.save("DATA-COLLECTION", toSave)
    .then( (results) => {
 let item = results; //see item below
        console.log(results.items)
    } )
    .catch( (err) => {
 let errorMsg = err;
    } );
}

This should show you the first STEP, how to solve it.
Of course this is just an INTERACTIVE-EXAMPLE —> which you can expand a lot, by your own needs :stuck_out_tongue_winking_eye::grin:

If you need more help, just let me know.