• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

make the Submit button action

New Here ,
Jun 02, 2020 Jun 02, 2020

Copy link to clipboard

Copied

Relatively new to all this but I need some assisance on the Submit Button.

 

Got hte following code;

</div>
<div class="row">
<div class="col-md-8">
<form class="form">
<div class="row">
<div class="name col-md-4">
<input type="text" name="name" id="name" placeholder="Name" />
</div>
<div class="email col-md-4">
<input type="text" name="email" id="email" placeholder="Email" />
</div>
<div class="subject col-md-4">

<input type="text" name="subject" id="subject" placeholder="Subject" />
</div>
</div>
<div class="row">
<div class="text col-md-12">
<textarea name="text" placeholder="Message"></textarea>
</div>
</div>
<div class="submit">
<input name="Submit" type="submit" value="Send Now" />
</div>
</form>
</div>

 

I am not sure how I make it take the name, email address, subject and message and email it to the hosting company. Appreciate any help, thanks.

 

Views

303

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2020 Jun 02, 2020

Copy link to clipboard

Copied

The best way to do this is to use a Form to Email script.

Most hosting companies will have one available that you can use that's already installed on your server. The instructions to add those types of scripts are pretty straight forward and don't require a lot of coding know-how. Check your hosting company's knowledge base/help section for "Form To Email Script".

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2020 Jun 02, 2020

Copy link to clipboard

Copied

LATEST
  • Mailto links are not reliable.
  • Mailto links promote spam.
  • Mailto links put your e-mail address and server at risk.
  • If you know what's good for you, do NOT use mailto links.

 

Use a secure contact form & processing script in a server-side language supported by your web hosting plan (PHP, ASP.NET, ColdFusion, etc...).

 

Or, use a 3rd party form service like JotForms or Wufoo.com.  Form data are processed by their servers, not yours.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines