JavaScript array to form

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
BackY
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Oct 22, 2017 5:08 am

Sun Oct 22, 2017 5:12 am

Hi guys, I have a JavaScript array which I need to send via mail. I have a page where I have a contact form, but when the user clicks SEND, I want that javascript array to be attached to the mail in plain text aswell. I heard using forms would be good, but not sure how, can I use a pre-defined form, and then fill it's input with data via Javascript function?

chorn
php-forum Active User
php-forum Active User
Posts: 411
Joined: Fri Apr 01, 2016 2:18 am

Sun Oct 22, 2017 10:55 pm


Post Reply