I would like to display a message after the form submit (which I know how to do), but with some data from the inputted fields in the form.
For example:
The form contains a field named "email", and after the user fills that input, I would like the message to contain: "An email has been sent to useremail@domain.tld" <- that's what I don't know how to achieve, getting a filled input into the message.
Can this be done?
For example:
The form contains a field named "email", and after the user fills that input, I would like the message to contain: "An email has been sent to useremail@domain.tld" <- that's what I don't know how to achieve, getting a filled input into the message.
Can this be done?