Skip to main content
Participating Frequently
May 12, 2017
해결됨

Form Issues Code

  • May 12, 2017
  • 2 답변들
  • 405 조회

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>

    이 주제는 답변이 닫혔습니다.
    최고의 답변: BenPleysier

    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.

    2 답변

    Participating Frequently
    May 12, 2017

    Thank you I will give it a try...

    BenPleysier
    Community Expert
    Community Expert
    May 12, 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!