+ Reply to Thread
Results 1 to 9 of 9

Thread: E-mail address in a shape
      
   

  1. #1
    vila is offline Sergeant Major
    Join Date
    Oct 2006
    Location
    Berkshire
    Posts
    92

    Default E-mail address in a shape

    Hello

    I am in the proccess of re-doing my website www.widl.org.uk

    I created an online form (using shape) which is send to my e-mail box. Everything works fine but now I would need to have somethign else done.
    Is it possible that the same results are send to 2 different e-mail boxes? I tried simply put anothe e-mail address after the first one i properties->link but - It still gets to first address only. I wonder if there is someting else I need to do, but I have no idea what else that could be.

    If anyone knows the answer - please, let me know.

    Thank you

    Vila

  2. #2
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,565

    Default Re: E-mail address in a shape

    Quote Originally Posted by vila View Post
    Hello

    I am in the proccess of re-doing my website www.widl.org.uk

    I created an online form (using shape) which is send to my e-mail box. Everything works fine but now I would need to have somethign else done.
    Is it possible that the same results are send to 2 different e-mail boxes? I tried simply put anothe e-mail address after the first one i properties->link but - It still gets to first address only. I wonder if there is someting else I need to do, but I have no idea what else that could be.

    If anyone knows the answer - please, let me know.

    Thank you

    Vila
    I don't understand what you mean by 'properties>link' ???

    The way you have done the form means you are putting a code in the action.php page yes? You just open up that code and next to your email address in that code just put a comma followed by the next email address.

    Then republish the action.php page
    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  3. #3
    vila is offline Sergeant Major
    Join Date
    Oct 2006
    Location
    Berkshire
    Posts
    92

    Default Re: E-mail address in a shape

    Hi!
    Thank you. I think I know what you mean.
    There is a problem however. :( Not only I made the shape (online form) which is now live - more than a year ago, I also accidentaly deleted action.php recently. I don't have this file in my BV, so I suppose I will have to ask how to do it. Do you know this? I am not so new to BV but sometimes I don't do anything for a long time, being busy to be a mum and nearly full time worker and sometimes I forget some things.
    I will apreaciate your help in this matter.

    Thank you.

    Vila

  4. #4
    Marincky's Avatar
    Marincky is offline General
    Join Date
    Apr 2006
    Location
    Warwickshire, UK
    Posts
    4,565

    Default Re: E-mail address in a shape

    You might want to take a look at this, as things have evolved since you put your form together.

    Don't aim for success if you want it; just do what you love and believe in, and it will come naturally.

  5. #5
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,207

    Lightbulb Re: E-mail address in a shape

    If you do not wish to evolve up to BV10 and merely wish to repair/remake your deleted page, this is the (very simple email form) code that you need to insert in your action.php Page Properties:
    <?PHP
    $mailto = "youremail@yourdomain.com";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Type your mail subject here";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>

    For options on which basic Blue Voda Email Form and code to use without upgrading to BV10, you can refer to Keith's Tutorials here > http://netisopen.com/computer/TF001/T001.html
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  6. #6
    vila is offline Sergeant Major
    Join Date
    Oct 2006
    Location
    Berkshire
    Posts
    92

    Default Re: E-mail address in a shape

    Oh, thak you both so much!

  7. #7
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: E-mail address in a shape

    Quote Originally Posted by vila View Post
    Hi!
    Thank you. I think I know what you mean.
    There is a problem however. :( Not only I made the shape (online form) which is now live - more than a year ago, I also accidentaly deleted action.php recently. I don't have this file in my BV, so I suppose I will have to ask how to do it. Do you know this? I am not so new to BV but sometimes I don't do anything for a long time, being busy to be a mum and nearly full time worker and sometimes I forget some things.
    I will apreaciate your help in this matter.

    Thank you.

    Vila
    As your form is still active that means that the action.php is still on your website.

    To obtain a copy either download it or just click on it in your ftp or file manager and it will be opened in notepad ready for you to add as Marincky pointed out.

  8. #8
    vila is offline Sergeant Major
    Join Date
    Oct 2006
    Location
    Berkshire
    Posts
    92

    Default Re: E-mail address in a shape

    I used the first option as I already had it downloaded. Just quick question. I tried to make a mistake on my form on purpose to see my error page. So - I put my name only in 'e-mail' box. I thought it would be enough but it showed me 'thank you' page.

    One more question. If I would like to limit a number of spaces tyed in the field, using BV 10, where shoudl I change it?

    Thank you one more time for your help.

    Extremely happy and grateful

    Vila

  9. #9
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: E-mail address in a shape

    the answer to both questions lies in the verification boxes.
    email should be email not text

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

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