On my site I have a dynamic page (lets call it “a member profile” page).
On this dynamic page I have contact form (see print screen 01)
On each “member profile page” I want this contact form to be contected to a different Email addres: I want that if user will enter a member profile page they could send this member an email through this contact form (I don’t want to reveal the email adress so it must be through contact form) - see print screen 02.
I have on my database a field with the users emails
I’m looking for someone who know wix interface & JS, and can write it for me and I could pay him.
Hey,
Instead of using the existed contact dorm, you can create your own form and send it to different email addresses. Click here to learn more about it.
" Modifying the Code:
The code we wrote above sends an email to the same address each time the form is submitted. It can easily be used as a basis for other common situations. For example, we will now modify the code so that the user submitting the form receives a confirmation email. "
I need that the code will sends the email to the member address email that we currently in her member page (It’s a dynamic page).
If the user is on my member page the msg from the contact form will go to my email.
but if the user on your member page the msg from the contact form will go to your email.
Hi,
You can create a similar function with different email addresses and call the relevant function on the same page.
Lets say that on page number 1, you with to send a notification to the email address: “to1.email@domain.com” . On page number 2, you wish to send an email notification to the email address: “to2.email@domain.com”.
You can create those two functions on the email.jsw file: