Hi @vysakhit
One way to do this would be via a javascript snippet like this:
<script>
let timer;
const input = document.querySelector('#forminator-field-last-name-1');
input.addEventListener('keyup', function (e) {
clearTimeout(timer);
timer = setTimeout(() => {
email.value = document.getElementById("forminator-field-first-name-1").value + document.getElementById("forminator-field-last-name-1").value + "@mydomain.com";
}, 1000);
});
</script>
Here’s a guide on some basic ways to add javascript to your site.
This current code assumes that:
– You’re using the Forminator Name
field with First
and Last
name fields enabled
– You’re using the Forminator Email
field
– These fields are the first of their type in the form
You can change the element IDs as needed for your particular form.
If you still need assistance, please link to a page with your form.
Hope this helped!