Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Submit button script.

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,085
    Thanks
    157
    Thanked 3 Times in 3 Posts

    Default Submit button script.

    Evening,
    I'm looking for a script that will collect the data from my form & send it to my email address.
    Here is the form in question, http://www.theremotedoctor.co.uk/form-contact.html
    Just using mail-to I think it will attract to much spam & not sure if it will even collect the data to send ?
    Please could you advise.

    Many thanks.
    Last edited by theremotedr; 02-12-2017 at 02:17 PM.

  2. #2
    Join Date
    Jan 2009
    Location
    NH
    Posts
    673
    Thanks
    97
    Thanked 26 Times in 26 Posts

    Default

    You can add captcha to it
    Code:
    <input type="captcha" name="code" />
    https://github.com/bggo/TimeLine-Tas...ter/formidable

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,085
    Thanks
    157
    Thanked 3 Times in 3 Posts

    Default

    Captcha ?
    First of all I need to collect the entered data ?

  4. #4
    Join Date
    Jan 2009
    Location
    NH
    Posts
    673
    Thanks
    97
    Thanked 26 Times in 26 Posts

    Default

    Did you add all of the php from that? The form collects all the info that you ask the person to fill out.
    A form is made up in html and a PHP script that will handle the email sending, possibly Ajax too. Read this, it's good info https://bootstrapious.com/p/how-to-b...p-contact-form

    Captcha is this http://www.captcha.net/

  5. #5
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,085
    Thanks
    157
    Thanked 3 Times in 3 Posts

    Default

    I didn't add anything yet.
    I see many scripts but with forms.
    I've a form in place so just need the php part of it I think.
    This is where my brain lets me down & I end up messing up the page thus spending more time fixing it than just being able to carry out the php part of it.

  6. #6
    Join Date
    Jan 2009
    Location
    NH
    Posts
    673
    Thanks
    97
    Thanked 26 Times in 26 Posts

    Default

    You could always add a form that you create and just post somewhat simple code and leave the harder stuff to the form company.
    https://www.jotform.com/ Go there and build the form, it's easy.

  7. #7
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,085
    Thanks
    157
    Thanked 3 Times in 3 Posts

    Default

    Ha ha
    I'm leaving Jotform to use my own form.

  8. #8
    Join Date
    Jan 2009
    Location
    NH
    Posts
    673
    Thanks
    97
    Thanked 26 Times in 26 Posts

    Default

    OK then you have to use all of the files that go along with the contact form and edit the send mail php

  9. #9
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,085
    Thanks
    157
    Thanked 3 Times in 3 Posts

    Default

    Ok
    Will check tomorrow.
    Can you advise also once customer clicks on submit button how they are then directed to a specified HTML page just says thanks etc.
    Thanks.

  10. #10
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    In PHP, a redirect is normally performed with the header() function, which goes after the form data processing part of the code.

    http://php.net/manual/en/function.header.php
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Convert submit button to Onchange submit
    By stand247 in forum JavaScript
    Replies: 3
    Last Post: 10-25-2011, 09:01 AM
  2. Making Div Button work like submit button
    By balushahi in forum JavaScript
    Replies: 1
    Last Post: 03-21-2008, 03:42 PM
  3. Submit button?
    By Cyruscosmo in forum Flash
    Replies: 2
    Last Post: 10-15-2007, 07:42 PM
  4. submit vs button
    By spyder in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 10-15-2005, 11:21 PM
  5. submit vs button
    By spyder in forum JavaScript
    Replies: 1
    Last Post: 10-15-2005, 10:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •