export function dataset1_ready() { //Add your code for this event here: $w("#dataset1").onBeforeSave( () => { $w("#dataset1").setFieldValues( { "mobil": $w("#text155").text, "statusSewa": $w("#dropdown1").value, "pernahAtauBelumPernah": $w("#radioGroup2").value, "namaLengkap": $w("#input9").value, "tanggalSewa" : $w("#datePicker3").value, "eKtp" : $w("#uploadButton1").value, "idCard" : $w("#uploadButton2").value, "stnk" : $w("#uploadButton3").value, } ) } ); }
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Hi 🖐
You can't use the value method to save the image to the database, the value method returns a list of files that are pending upload, the the actual URL of the files, you need to upload them first and get their URLs.
You can take a look at an example on how to upload multiple images here:
Regarding the date picker, I have no idea why, perhaps the field key is typed incorrectly 🤔
Hope this helps~!
Ahmad