How do you do....it? Thread, Online forms in Technical; Hi All
Can you help
We have been using Google Docs for filling in online forms, to user internally to ...
-
28th May 2010, 11:40 AM #1
- Rep Power
- 0
Online forms
Hi All
Can you help
We have been using Google Docs for filling in online forms, to user internally to collect information. But after an e safety course we need to look at different ways of creating and using these forms
Any one help or advise on how they have done thieir forms so we can host on a web server internally
Thanks
Phil
Last edited by fil_b; 28th May 2010 at 01:33 PM.
-
-
IDG Tech News
-
28th May 2010, 11:44 AM #2 Could you give a bit more info? There are lots of ways of doing this.
Just curious - are Google docs out of the question because of an eSafety issue?
-
-
28th May 2010, 11:45 AM #3 You can use PHP to collect and process input from end users.
Put this in a HTML document -
<form method="post" action="sendmail.php">
Email: <input name="email" type="text" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
Create a new document using notepad or Winsyntax ( a good program for php scripting) and enter the following, save it as sendmail.php
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "yourname@example.com", "Feedback Form Results", $message, "From: $email" );
header( "Location: http://www.example.com/thankyou.html" );
?>
From these two basic bits of code you should be able to sort something out.
D
-
-
28th May 2010, 11:49 AM #4
- Rep Power
- 0
one of the issues is where google docs hosted?? it is not always in the UK k
under DP you are not allow to send personal information outside the EU without permission, agreements and safe harbor agreements.
Plus you need parental permission if you are sending personal information off site.
We use it for collecting exclusion information and store this as a google doc so its all central in one doc, for one example.
Will look at the PHP - Thanks
Last edited by fil_b; 28th May 2010 at 01:36 PM.
-
-
28th May 2010, 11:52 AM #5 NP let me know if you need any more advice on the php side.
-
-
28th May 2010, 11:54 AM #6
- Rep Power
- 0
cheers dude
going to put this into html doc and see what happens
-
-
28th May 2010, 11:57 AM #7 You will need to have it stored on a server that is configured for php scripting also for it to work, you cannot just run it from the hard drive on your computer as it will not work.
D
-
-
28th May 2010, 11:59 AM #8
- Rep Power
- 0
we already host our website using moodle - create the docs there and expertiment
-
-
28th May 2010, 12:00 PM #9 Yep you should be fine.
D
-
-
28th May 2010, 12:03 PM #10 Adobe livecycle does a good job of this as well (but costs).
This page has some interesting info about data security and Google docs.
-
-
28th May 2010, 12:05 PM #11
- Rep Power
- 0
-
SHARE: 
Similar Threads
-
Replies: 1
Last Post: 7th February 2010, 03:59 PM
-
By synaesthesia in forum East Midlands Broadband Consortium (EMBC)
Replies: 1
Last Post: 22nd January 2010, 03:21 PM
-
By bobharding in forum How do you do....it?
Replies: 3
Last Post: 25th January 2009, 06:33 AM
-
By beeswax in forum Web Development
Replies: 5
Last Post: 28th February 2007, 10:14 AM
-
Replies: 1
Last Post: 11th October 2006, 08:53 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules