I am sending simple html templated emails to users, now i want to include text box and submit button in my email template. user can put text in textbox in email and submit data, that data will save in my database. How can i do this? any suggestions?
Add a link in your email content to redirect on the form in browser.
Look on this website to understand why put a form in an email is not good way : Send a Form via Email
Add a link to redirect them to browser form is nicer, and you can add some variable at the URL to recognize the user too like http://testingsite.com/form?user=xxx, so that u can know who is the user and pre-filled date or them.
Related
I want to add a special widget (e.g. in the start message) which will be have a Submit button. The user interacts with widget, then presses this button and the widget should add a result as a reply message.
The reply form sends a post request with some parameters. Where can I grab it?
Maybe there is a some plugin with such a feature?
I found these props as hidden form fields. I don't know how I missed them at first.
For feeds the similar information is stored in a global variable BP_Nouveau.
console.log(BP_Nouveau.activity.params);
Actually, My website has lots of pages so when customer send me his query via on-page contact form option and submit it to me I want the address of the current page on which he filled the contact form and send to me. ex www.website.com/page/page44 so I want to get this URL also with contact form mail submission Please help.
As I wrote in the title, is there any way to do that?
For example, Let's say I make some form tags that users will be typing their names and email addresses and submit button with html.
And the user inputs will be sent as an email to my email address as they press the submit button.
I think it is a dangerous thing to try because of security reasons but I wanted to know if there is such a way to do so.
Thanks!
I have a pdf on website, which i want, client download it or i will email them and they fill it, and when they click on submit button in the pdf, it send all the form field data to my webpage, so i can enter all the information on my database.
My Webpage using ASP.net as server side language
I have created a pdf by using "Nitro PDF" in nitro pdf there is a option to Submit form on click as a FDF,XFDF,html.
I have tried html but that doesn't work , so i collect all the fields information by using javascript an send information via GET method, mentioned below
// Obtain the value from the first field
var Fname = getField("firstName").value;
// Obtain the value from the second field
var Mname = getField("middleName").value;
// Obtain the value from the third field
var Lname = getField("lastName").value;
app.launchURL("http://techchef.org/test.php?Fname="+Fname+"&Lname="+Lname, true);
but the problem in the above mention method is, i have more than 48 fields & cant use GET method..
so i try to find out the POST method in javascript which can be workable in the pdf and i tried the below mention code which i found from this link Submit pdf form fields to a HTTP POST request but it doesn't work...It only send empty information
Code For POST Method
app.submitForm("http://example.com/test.php, true);
then i research about FDF, and i found FDF Kit, but when try this i found it only works if i ask user to fill the form of the pdf with out downloading..So in this way i can not able to send the pdf to the clients via email.
Please guide me how can i receive the filled data on my webpage on the click of "send" button (please advice if i can use a POST method or some thing else)
Is it possible to create a contact form that sends the answers by email with only HTML5 and JavaScript? And if it is, how do I do it?
I don't think it's possible to do it from JavaScript directly via a mail function or so because the user's local machine can't be assumed to be running a mail server. There would be nothing to send the email from.
I'm not sure how "standards compliant" this is, but you can navigate to (by using links or document.location) to mailto:user#example.com or so which will begin composing an email in the user's standard email client, allowing them to send you an email directly. Though this will expose both their and your email address.
In the action field of the form, set the action as “mailto:youremailaddress” for example:
<form action="mailto:myforms#mydomain.com">
If you want to send the form data as plain text you can use the following
Add ‘enctype=text/plain’ in the form attributes. The form code becomes:
<form action="mailto:myforms#mydomain.com" enctype="text/plain" >
When this form is submitted, you will get the email in readable form.