I currently have a submit button that is meant for 3 different forms. When submitting, I use the following approach:
restaurantCreateForm = function(){
document.getElementById("restaurant-features" ).submit();
document.getElementById("information_form").submit();
document.getElementById("restaurant-address").submit();
}
Despite this strategy, only the last form is being submitted. I've attempted to address this issue by trying to loop through and submit each form individually, but the result remains the same with just the final form being submitted. Can anyone help me identify the error in this process?