+ Reply to Thread
Results 1 to 8 of 8

Thread: aarghh! Forms - Help please!!!
      
   

  1. #1
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Question aarghh! Forms - Help please!!!

    Hi all,

    Have spend at LEAST 4 hours today trying to get a form to work.
    I have watched the tutorials over and over again!! please dont ask me to do so again. I have read the forums and found several former threads asking the same thing but even trying to follow the answers to their questions have not got me through!
    My question is.. i have completed a register now page. i simply want customers to be able to put their details in and register. i have the initial setup fine...only it goes to my email and i get a blank screen - NO DETAILS. i see others have asked the same question and i have changed the form properties in my blue voda register now page however....what do you mean - create a new file using notepad and call it (in my case) register.php? i did this and saved the html or php coding? and then uploaded to my ftp program. Well things went bad to worse ..i couldnt even view the page in my browser! i have deleted these new folders and am back to having the form set up and coming through to email only. PLEASE help....i need to access customers details...where am i going wrong???

  2. #2
    rdarko's Avatar
    rdarko is offline First Lieutenant
    Join Date
    Jul 2005
    Location
    UK
    Posts
    172

    Post Try this

    Edit the script below where necessary and place this in your CONFIRMATION page

    <SCRIPT LANGUAGE="php">
    $email = $HTTP_POST_VARS[email];

    $mailto = "ruth@rudesign.co.uk";

    $mailsubj = "Form submission";

    $mailhead = "From: $email\n";

    reset ($HTTP_POST_VARS);

    $mailbody = "Values submitted from web site form:\n";

    while (list ($key, $val) = each ($HTTP_POST_VARS)) {

    $mailbody .= "$key : $val\n"; }

    mail($mailto, $mailsubj, $mailbody, $mailhead);

    </SCRIPT>

    <META HTTP-EQUIV="Refresh" Content="5; URL=welcome.html">


  3. #3
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default

    Thank you for your quick response rdarko, but what is my confirmation page? never heard of this before?



    Quote Originally Posted by rdarko
    Edit the script below where necessary and place this in your CONFIRMATION page

    <SCRIPT LANGUAGE="php">
    $email = $HTTP_POST_VARS[email];

    $mailto = "ruth@rudesign.co.uk";

    $mailsubj = "Form submission";

    $mailhead = "From: $email\n";

    reset ($HTTP_POST_VARS);

    $mailbody = "Values submitted from web site form:\n";

    while (list ($key, $val) = each ($HTTP_POST_VARS)) {

    $mailbody .= "$key : $val\n"; }

    mail($mailto, $mailsubj, $mailbody, $mailhead);

    </SCRIPT>

    <META HTTP-EQUIV="Refresh" Content="5; URL=welcome.html">


  4. #4
    rdarko's Avatar
    rdarko is offline First Lieutenant
    Join Date
    Jul 2005
    Location
    UK
    Posts
    172

    Post put this in HTML behind your form

    create a confirmation page and go to page html and put the code I sent previously in it.

    But before you do that put this at the top the html of your form:

    <FORM NAME=Booking METHOD=POST ACTION="confirm.php">

    If your form name is other than "Booking" then change it in the code above to the name of your form.

    hope this helps

  5. #5
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default

    Hi again rdarko,
    i must be sooo stupid. Is the confirmation page - the blue voda page i created - "register now" page?
    If i just open my register now page - double click on the form and change the properties as advised, then do i view in browser and double click on the whole page to get to view source - and input the php script in here?



    Quote Originally Posted by rdarko
    create a confirmation page and go to page html and put the code I sent previously in it.

    But before you do that put this at the top the html of your form:

    <FORM NAME=Booking METHOD=POST ACTION="confirm.php">

    If your form name is other than "Booking" then change it in the code above to the name of your form.

    hope this helps

  6. #6
    rdarko's Avatar
    rdarko is offline First Lieutenant
    Join Date
    Jul 2005
    Location
    UK
    Posts
    172

    Post

    When customers click on the [submit] (or whatever you've named it) afterwards there often is a page that assures the customer that their form is being processed etc... this is a completely different page to that of the form they fill in.

    e.g.

    Your request is being processed...

    When youre creating this page you should right click your mouse and go to "Page HTML" section rather than "Page Properties" and put the coding for the CONFIRMATION page there.

    Then on the page the customers will fill in, right click your form section and go to "Form HTML" and put the coding for the form I sent you there and edit where necessary.

    This should fix the prob. If not visit mine and see where you're going wrong...you can test my submit button for an example of the confirmation page I'm referring to.

    http://www.rudesign.co.uk/booking.html

  7. #7
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default

    Rdarko, you are fantastic!!
    I am now entering about 6 hours on this today! thank god it was my day off!!
    i will definately try this but have to give up now to get children off to bed. Thanks again, i will try this asap.



    Quote Originally Posted by rdarko
    When customers click on the [submit] (or whatever you've named it) afterwards there often is a page that assures the customer that their form is being processed etc... this is a completely different page to that of the form they fill in.

    e.g.

    Your request is being processed...

    When youre creating this page you should right click your mouse and go to "Page HTML" section rather than "Page Properties" and put the coding for the CONFIRMATION page there.

    Then on the page the customers will fill in, right click your form section and go to "Form HTML" and put the coding for the form I sent you there and edit where necessary.

    This should fix the prob. If not visit mine and see where you're going wrong...you can test my submit button for an example of the confirmation page I'm referring to.

    http://www.rudesign.co.uk/booking.html

  8. #8
    apic is offline Private First Class
    Join Date
    Jul 2005
    Posts
    7

    Default

    OMG!!! 12 hours later and still cant get this???

    can anyone else offer any ideas???

    anyone is welcome to look at my pages (although please dont take too much notice of content as only just developing these pages for a friend) i have just tacked it onto my website FTpprogram.

    www.myhomesweethome.com.au/registerapi.htm
    &
    www.myhomesweethome.com.au/confirm.htm
    They just WILL NOT link up????????

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. another forms question
    By rdensford in forum Forms
    Replies: 39
    Last Post: 04-11-2006, 04:53 PM
  2. question with forms
    By GoldDraco13 in forum Forms
    Replies: 4
    Last Post: 02-09-2006, 03:49 AM
  3. more option on forms
    By Maddog in forum Wish List & Idea Bin
    Replies: 3
    Last Post: 11-24-2005, 08:52 AM
  4. Website Forms
    By udoitnow in forum BlueVoda - General Issues
    Replies: 7
    Last Post: 08-16-2005, 12:25 AM
  5. Registration and Login forms
    By rabbit in forum General Support Issues
    Replies: 1
    Last Post: 07-30-2005, 09:50 AM

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49