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

Form Issues Code

Community Beginner ,
May 11, 2017 May 11, 2017

Stargazer Form

I built this form off of an tutorial.

I believed I follow direction...

Could some on check the code for me please.

<form class="subscribeForm" name="Subscription Form" method="post" action="mailto:Name@domain.com" enctype="text/plain">

  <input id="fname" type="text" placeholder="First Name*" Name="First Name" required>

  <input id="lname" type="text" placeholder="Last Name*" name="Last Name" required>

<!-- Step 1: Add an email field here -->

  <input id="email" type="email" placeholder="Email" name="Email" required>

<!-- Step 2: Add an address field here -->

  <input id="address" type="text" placeholder="Address (optional)" name="Address">

<!-- Step 3: add a submit button here -->

  <input type="submit" id="submit" formaction="mailto:[email removed by moderator]" formenctype="text/plain" value="Send">

  

</form>

422
Translate
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

correct answers 1 Correct answer

Community Expert , May 11, 2017 May 11, 2017

The problems associated with the form

  • The form action requires an email client (e.g. Outlook) to be present on the user's computer.
  • There is no form validation if the user agent (e.g. browser) does not recognise the required attribute.
  • The email address is exposed to email harvesters to use for clandestine purposes

If your server accommodates PHP, have a look at Nancy's tutorial at Alt-Web Design & Publishing: Responsive Contact Form with Bootstrap 3.2 and PHP (Part 1)

Please note (to keep my 'frien

...
Translate
Community Expert ,
May 11, 2017 May 11, 2017

The problems associated with the form

  • The form action requires an email client (e.g. Outlook) to be present on the user's computer.
  • There is no form validation if the user agent (e.g. browser) does not recognise the required attribute.
  • The email address is exposed to email harvesters to use for clandestine purposes

If your server accommodates PHP, have a look at Nancy's tutorial at Alt-Web Design & Publishing: Responsive Contact Form with Bootstrap 3.2 and PHP (Part 1)

Please note (to keep my 'friends' happy): The tutorial uses the most popular HTML, CSS, and JS framework, called Bootstrap. You can ignore the Bootstrap bits and use your own styling. The important part is the security and functionality that the server side code provides.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
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 Beginner ,
May 12, 2017 May 12, 2017
LATEST

Thank you I will give it a try...

Translate
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