Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Mozilla - Mail & Newsgroups

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion
Register FAQ Community Calendar

Using forms in web pages?
Reply
 
Thread Tools
Old 19-12-2003, 10:36   #1
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Using forms in web pages?

A colleague is asking me questions about how to have a form included in his company web page, where when it is sent to the recipient it can then appear in another form when read.

Looking at his Macromedia suite form, it generates the email with everything on one line & seperated by "&" signs.

What we would like to do is change that to using a new line for each item of data.

Also how do we make it so that the server send the forum rather than the viewing clients email package?

And finally, when we have the data in an email, any suggestions on how to then extract that text file to another similar viewable form easily?

Suggestions of where we may look for help on this appreciated.
He's the webpage designer for the co & he dont do coding.... doh!
Thankyou,
Zoombini
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Advertisement
Old 19-12-2003, 10:56   #2
Jon M
Inactive
 
Jon M's Avatar
 
Join Date: Oct 2003
Location: East Midlands
Age: 48
Services: Rural BB - Radio Link via Virgin Fibre
Posts: 2,947
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Send a message via MSN to Jon M
Re: Using forms in web pages?

This is one of the simplest methods I know of:
http://www.javascript-coder.com/html...rm-email.phtml

It would help though if we knew what the webserver is running.. (IIS, Apache, etc) as each webserver has it's own in-built mail scripts. Also, what scripting language is your developer using if at all.. I presume he's trying to use plain html if he's not a coder?
Jon M is offline   Reply With Quote
Old 19-12-2003, 11:07   #3
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

er.... I can post the code if that answers one question, as to what is running on the server thats another that I just rang Up and have asked, someone is going to get back to me.


I think that the page is in HTML with som Javascript - here is a snip.
Code:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->
</script>



<form name="commission" method="post" action="mailto:emailhere@isp.com" onSubmit="return validateForm(this)" >
  <table width="634" border="0" cellspacing="1">
    <tr> 
      <td width="300" valign="top"><font face="Arial, Helvetica, sans-serif" size="2"><b>1.0 
        Purchaser of equipment</b></font><font face="Arial, Helvetica, sans-serif" size="1"><br>
        </font> <font face="Arial, Helvetica, sans-serif" size="1"> 
        <textarea name="textfield" cols="30"></textarea>
        </font> </td>
      <td width="325" valign="top"> 
        <div align="left"><font face="Arial, Helvetica, sans-serif" size="2"><b>2.0 
          Site Address <font size="1">(if unadopted road, enclose details).</font></b></font><font face="Arial, Helvetica, sans-serif" size="1"><br>
          </font></div>
        <div align="left"> <font face="Arial, Helvetica, sans-serif" size="1"> 
          <textarea name="textfield2" cols="30"></textarea>
          </font></div>
      </td>
    </tr>
    <tr> 
      <td width="300" height="219" valign="top"> 
        <p><font face="Arial, Helvetica, sans-serif" size="2"><b>3.0 System Category</b></font><b><font face="Arial, Helvetica, sans-serif" size="1"> 
          TICK APPROPIATE BOX</font></b></p>
        <p><font face="Arial, Helvetica, sans-serif" size="1">M 
          <input type="checkbox" name="checkbox" value="checkbox">
          L1
cutting out the mass of the middle - Ending in
Code:
 <tr> 
      <td width="300">
        <input type="submit" name="Submit" value="Submit" onClick="MM_callJS('processForm()')">
        <br>
      </td>
      <td width="325"> 
        <div align="left"></div>
      </td>
    </tr>
  </table>
</form>
</body>
</html>
Whats running on the server may be a big problem as its being designed & initially shown/used on the company servers that are running unix. Eventually going up onto our internet providers server but the IT dept think that we only have webspace & nowt else (shows how cheap they are!).

Cheers,
Zoombini
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 19-12-2003, 11:11   #4
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

The bit where it calls
Code:
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
Where does this go/come from?
Is it calling another file? if so what would it be, or is it calling a normal JS function thats part of IE etc?
(me know nothing - I'm from Barcelona!"
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 19-12-2003, 11:18   #5
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

By the way, what would the host need to have in order to use webforms & have it emailed by them to us?
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 19-12-2003, 12:15   #6
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

Ok I have found out that it is airtime.co.uk & thatthey are running win2000 IIS 5
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 19-12-2003, 13:02   #7
MikeyB
Inactive
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 54
Services: BT FTTP, Humax Foxsat HDR Freesat+
Posts: 810
MikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud of
Re: Using forms in web pages?

This is a very simple form-to email, it will use the email client on the users pc, it uses no server side (asp etc)

This line:
<form name="commission" method="post" action="mailto:emailhere@isp.com" onSubmit="return validateForm(this)" >

the mailto:emailhere@isp.com simply tells it to fill in the to box in the email.
MikeyB is offline   Reply With Quote
Old 19-12-2003, 13:25   #8
zoombini
cf.mega poster
 
zoombini's Avatar
 
Join Date: Jun 2003
Location: England
Services: I no longer receive cable services, I blame the inept accounts dept for that.
Posts: 3,732
zoombini has reached the bronze age
zoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze agezoombini has reached the bronze age
Re: Using forms in web pages?

But doesnt that just open a new email for the client to fill in.

This needs to be a form that has data in, selected by the client.

Having found an example of what airtime use & the formmail stuff from Matss script archive I passed it back to him & it went Vrooom as it passed over his head while he muttered "I'm a media designer - I do brochures etc not a webpage designer"...... lol

Ah well, thanks anyway, I think that it will just have to be farmed out & payed for to get it to work. (ite neither my job to do it or his).

Merry Christmas all...
__________________
Not really visiting CF much these days....
If you need me, PM me.
zoombini is offline   Reply With Quote
Old 19-12-2003, 13:55   #9
Jon M
Inactive
 
Jon M's Avatar
 
Join Date: Oct 2003
Location: East Midlands
Age: 48
Services: Rural BB - Radio Link via Virgin Fibre
Posts: 2,947
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Jon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze arrayJon M has a bronze array
Send a message via MSN to Jon M
Re: Using forms in web pages?

if it's going to be used on an IIS server.. try this:
http://www.chilkatsoft.com/webMailSend.asp

it's fairly self explanitory.. but you can always PM me if you need help with it
Jon M is offline   Reply With Quote
Old 21-12-2003, 11:40   #10
MikeyB
Inactive
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 54
Services: BT FTTP, Humax Foxsat HDR Freesat+
Posts: 810
MikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud of
Re: Using forms in web pages?

Quote:
Originally Posted by zoombini
But doesnt that just open a new email for the client to fill in.

This needs to be a form that has data in, selected by the client.
Yes, that is exactly what that code does, if there are other fields on the form that are filled in, it will attach a text file in the email, but it is very hit & miss as to if it works.

You had the right idea by going to Matts Scripts, but you shouldn't use them, he hasn't updated them in years, and even says himself on his pages that they are not really best!

As even your host seems to no nothing about scripting, it might be best to use a 3rd party form script
Try this one http://www.response-o-matic.com follow the instructions, should be fairly straight forward. Nothing needs doing on your server or host, you just link to it
MikeyB is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:32.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum