Jump to content

Forms Control Input(text) not working in IE


wstsmf

Recommended Posts

Hello. I have not created a Form in several years but this is a simple straight forward Form that used to work for me and still does in Firefox and Chrome but not in IE (10 or 11) which we primarily use in our shop. The Form displays fine and accepts input text. Mailto address and Subject inserts fine. Reset and Submit work also. The problem is with the text. It's not inserting the string value or label id on to the email (only for IE).

 

We're all using Windows 7 here with primarily IE.

 

I'm using Microsoft Office SharePoint Designer to code our old MOSS.

 

This has to be an easy fix, please help me.

 

Thanks.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Calendar Form Nightmare</title></head><body> <table style="width: 725px">  <tr>   <td>    <form id="form1" action="mailto:me@work.com?Subject=Calendar%20Form" method="post" enctype="text/plain">    <h1>     Calendar Form</h1>    <p>  <b>Your Name:</b> <input type="text" name="your name" style="width: 191px"></p>    <p>  <b>Event/Meeting Date: </b><input type="text" name="event date"></p>    <p>  <b>Event/Meeting Time:</b> <input type="text" name="event time"></p>    <p>  <b>Event/Meeting Name:</b> <input type="text" name="event name" style="width: 280px"></p>    <p>  <b>Event/Meeting Location:</b> <input type="text" name="event location" style="width: 263px"></p>    <p>  <b>Event/Meeting Audience:</b> <input type="text" name="event audience" style="width: 259px"></p>    <p>  <b>Additional Information:</b> <input type="text" name="add info" style="width: 525px">   </p>    <p><input type="submit" value="Submit">                                                              <input type="reset"></p>    </form>   </td>  </tr> </table></body></html>
Edited by wstsmf
Link to comment
Share on other sites

Well I've been playing with the <!DOCTYPE> and meta but still not working.

<!DOCTYPE HTML> <html><head><meta content="en-us" http-equiv="Content-Language"><meta content="text/html; charset=utf-8" http-equiv="Content-Type">

However I ran this on another computer using IE and it crashed & burned, so is it possible it's not a coding issue?

Is it possible it's the old SharePoint 2007?

Link to comment
Share on other sites

I suggest changing your action to a PHP file and using a PHP Mail to send details from a 'POST' form for PHP.

 

See W3schools.com PHP Tutorial on PHP Mail.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...