Are you trying to create data for 2 different databases in one form?
as i am not a wix expert or have any relation with coding, just like a random person with 0 coding knowledge i would probably try these:
-
create a button in front of the submit button and hide it on load
-
Set submit button to “stay on this page” after submitting
-
Create a success message and set a onViewportEnter event on this message to hide submit button and show the new button
-
Link that button you created whereever you want to go after submitting
-
Create an onclick event for that new button and put to following code:
$w('#your2nddataset').setFieldValue('fieldKeyAsIn2ndDatabase', $w('#yourinput').value);
If everything goes well this should work IMO ![]()