+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
Web Development Thread, Web Based Toner request form in Coding and Web Development; Originally Posted by powdarrmonkey element_1_1 element_1_2 I still don't see any spaces...
  1. #16

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,394
    Thank Post
    108
    Thanked 266 Times in 197 Posts
    Rep Power
    168
    Quote Originally Posted by powdarrmonkey View Post
    element_1_1
    element_1_2
    I still don't see any spaces

  2. #17

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by CESIL View Post
    I still don't see any spaces
    o rly?

    spaces.png

  3. #18

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,394
    Thank Post
    108
    Thanked 266 Times in 197 Posts
    Rep Power
    168
    Quote Originally Posted by powdarrmonkey View Post
    o rly?

    spaces.png
    Oh, now you have posted the code I can see you mean.

    BTW I have already posted that the form (with it's 'fancy' inputs) does work but not reliably due to the GET/POST issues that both myself and others have pointed out. A mail handling script is the best way to resolve this.

  4. Thanks to CESIL from:

    kevbaz (7th December 2010)

  5. #19
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    thanks for all the help, ive removed those spaces and have added <body> and still no joy, ive never used a mail handling script at all before, infact im new to most of this and trying to learn the best i can, could somone post an example? im assuming id need to change the mailto and point it at a php script??

  6. #20

    CESIL's Avatar
    Join Date
    Nov 2006
    Location
    Hampshire
    Posts
    1,394
    Thank Post
    108
    Thanked 266 Times in 197 Posts
    Rep Power
    168
    I have used this Worx International Inc.

    It might be easier than building your own

  7. Thanks to CESIL from:

    kevbaz (7th December 2010)

  8. #21

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by kevbaz View Post
    thanks for all the help, ive removed those spaces and have added <body>
    No, you need to add

    Code:
    <input type="text" name="body" />
    but this does fix your problem.

  9. #22
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    Quote Originally Posted by powdarrmonkey View Post
    No, you need to add

    Code:
    <input type="text" name="body" />

    but this does fix your problem.
    Specifically where do i need to add this? thanks

  10. #23

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by kevbaz View Post
    Specifically where do i need to add this? thanks
    Anywhere you like between <form> and </form>, providing that doesn't result in invalid HTML.

  11. #24
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    doing that seems to break it and stops the submit button from working? would you mind editing the code with this info added and reposting it for me?

  12. #25

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by kevbaz View Post
    doing that seems to break it and stops the submit button from working? would you mind editing the code with this info added and reposting it for me?
    This simple page illustrates the concept.

    Code:
    <html><head><title>Mailto submission</title></head>
    
    <body>
      <form name="mailform" method="get" action="mailto:myaddress">
       <input name="subject" type="hidden" value="Toner request" />
       Requirements (include your name): <input type="text" name="body" />
       <input type="submit" value="go" />
      </form>
    </body></html>

  13. #26
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    That example works but when i try to encorperate it into my form is creates a new field and messes up the layout and design, i cannot figure out how to apply it to my existing fields.

  14. #27

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by kevbaz View Post
    That example works but when i try to encorperate it into my form is creates a new field and messes up the layout and design, i cannot figure out how to apply it to my existing fields.
    You can't apply it to your existing fields, that's the whole point.

  15. #28
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    Quote Originally Posted by CESIL View Post
    I have used this Worx International Inc.

    It might be easier than building your own
    Ive grabbed the phpmailer-fe but completely at a loss as the examples dont even work for me? when i try one of them instead of opening an email it tries to ope the php file

  16. #29
    kevbaz's Avatar
    Join Date
    Mar 2008
    Location
    Plymouth
    Posts
    855
    Thank Post
    129
    Thanked 69 Times in 47 Posts
    Rep Power
    43
    Quote Originally Posted by powdarrmonkey View Post
    You can't apply it to your existing fields, that's the whole point.
    then sorry but what use is it?

  17. #30

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by kevbaz View Post
    Ive grabbed the phpmailer-fe but completely at a loss as the examples dont even work for me? when i try one of them instead of opening an email it tries to ope the php file
    Indicating that you haven't installed PHP correctly on your web server.

    Quote Originally Posted by kevbaz View Post
    then sorry but what use is it?
    You can't use the mailto technique except to submit two inputs, whose names are "subject" and "body". That is its entire purpose.

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 12
    Last Post: 8th August 2011, 05:15 PM
  2. Online Cover Request Form
    By philjones2000 in forum How do you do....it?
    Replies: 0
    Last Post: 30th September 2010, 03:15 PM
  3. MOSS 2007 Form based Authentication
    By wesleyw in forum Windows
    Replies: 0
    Last Post: 27th November 2008, 12:11 PM
  4. Web-based contact form being abused
    By HodgeHi in forum Web Development
    Replies: 17
    Last Post: 5th November 2007, 11:29 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
  •