+ Post New Thread
Results 1 to 5 of 5
Web Development Thread, Form to Email.php in Coding and Web Development; Hi, I could do with some help if anyone has got any information. My father has asked me if I ...
  1. #1
    tomgrindle's Avatar
    Join Date
    Oct 2010
    Location
    Gloucestershire
    Posts
    204
    Thank Post
    53
    Thanked 17 Times in 14 Posts
    Rep Power
    21

    Form to Email.php

    Hi,

    I could do with some help if anyone has got any information.

    My father has asked me if I would redesign and take over the website for our family business. Our existing website has an Enquiry Form, which I have duplicated but cant really get my head around the scripting of it. I am using Serif WebPlus X4, designed the form using the FormWizard and then selected the 'Script from remote location' option.

    The hosting that we currently use is Freeola and I have come across this page Freeola Help & Support, Form Mail script. Now maybe it is because it is the first day back after the easter holidays or i just don't have a clue, but it seems to not make much sense to me.

    Attached is the HTML for the form so far. FormCode.txt If you need anything else please let me know and any help is greatly appreciated.

    Many Thanks

    Tom Grindle

  2. #2
    danbuntu's Avatar
    Join Date
    Dec 2009
    Location
    Maidstone, Kent
    Posts
    289
    Thank Post
    0
    Thanked 52 Times in 49 Posts
    Rep Power
    19
    I not quite sure what you're asking here?

    You have a form that when submit has been pressed will send to Form To Mail Script

    you then need to work thorught he instruction you've linked to and add in the required hidden fields to set the emailto, subject etc.

  3. #3
    tomgrindle's Avatar
    Join Date
    Oct 2010
    Location
    Gloucestershire
    Posts
    204
    Thank Post
    53
    Thanked 17 Times in 14 Posts
    Rep Power
    21
    Yes ... sorry i'm never very good at making sense lol. I don't currently do the website so wasn't entirely sure how it was done, although I was aware of Form To Mail Script. I think what I was asking is where do I put the information that the article is refering to such as ... <input type="hidden" name="recipient" value="bob@spursfans.co.uk>. So am I right in thinking that I go to the form properties and add that in as hidden fields, say the name being recipient and the value being <input type="hidden" name="recipient" value="bob@spursfans.co.uk>.

    Tom

  4. #4
    danbuntu's Avatar
    Join Date
    Dec 2009
    Location
    Maidstone, Kent
    Posts
    289
    Thank Post
    0
    Thanked 52 Times in 49 Posts
    Rep Power
    19
    pretty much yes

    I don't know how serif does things but if you go into the html view and just paste <input type="hidden" name="recipient" value="bob@spursfans.co.uk> in before the submit button- so around line 432 in the code you posted
    Then just add in the other fields as needed and you should be good to go.

  5. #5
    tomgrindle's Avatar
    Join Date
    Oct 2010
    Location
    Gloucestershire
    Posts
    204
    Thank Post
    53
    Thanked 17 Times in 14 Posts
    Rep Power
    21
    Yep thanks ive just carried out an experiment and ive got my head around it.

    Thank You

    Tom

SHARE:
+ Post New Thread

Similar Threads

  1. HTML/PHP form problem
    By glennda in forum Web Development
    Replies: 4
    Last Post: 17th November 2010, 10:22 AM
  2. PHP - Form POST script
    By BarryWAaMC in forum Coding
    Replies: 9
    Last Post: 31st March 2010, 11:32 AM
  3. javascript and php mail form
    By mikeglover in forum Coding
    Replies: 5
    Last Post: 19th January 2010, 01:32 PM
  4. [PHP] PHP Form Generator
    By _Bat_ in forum Web Development
    Replies: 1
    Last Post: 25th March 2009, 11:39 AM
  5. PHP form validation
    By thesk8rjesus in forum Web Development
    Replies: 10
    Last Post: 21st January 2009, 12:09 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
  •