function validateForm() {
const Name = document.getElementById("name").value;
const Email = document.getElementById("email").value;
const Phone = document.getElementById("phone").value;
const Password = document.getElementById("password").value;
const Address = document.getElementById("address").value;
const pincode = document.getElementById("pincode").value;
VirtuBoxScriptResponse("Registration Kiosk", {
name: Name,
Email: Email,
Mobile: Phone,
password: Password,
Address: Address,
pincode: pincode,
});
alert("call");
}
function VirtuBoxScriptResponse(name, json) {
alert("hii aKshat");
var command = "script-response";
var args = JSON.stringify({ group: name });
var data = JSON.stringify(json);
try {
let output = VirtuBoxWeb.execute(command, args, data);
output.then((response) => {
if (response.status == "success") {
console.log(response);
} else {
alert("Data Not Save");
}
});
} catch (err) {}
}
document.getElementById("signupButton").addEventListener("click", function () {
window.location.href = "https://app.virtubox.io/app-v9pmzc8m/newpage";
});
Your experience on this site will be improved by allowing cookies.