Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lincolnimp

Members
  • Joined

  • Last visited

Everything posted by lincolnimp

  1. Any ideas folks? X
  2. Hi folks Please help! I am having form problems again. I am using a form validator for Dreamweaver by Hotdreamweaver. I am uplodaing the JScript folder to my server and he form seems to validate fine. However, after I have filled in the form I can't get it to send to my email address or redirect to a URL after the form has been submitted. I must be doing something simple wrong. Does anybody have any ideas please!? HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title></title> <script language='JavaScript' type='text/javascript' src='JScript/formValidator.js'></script> <script> function validate(formNode){ var formValidatorInstance = new FormValidator(formNode); formValidatorInstance.addRule('name','Please add your name.','required'); formValidatorInstance.addRule('email','A valid email address is required.','email'); formValidatorInstance.addRule('passenger','Input a valid number of passengers. (1-8)','rangevalues',Array(0,9)); formValidatorInstance.addRule('day','Pick up date (day) not complete.','required'); formValidatorInstance.addRule('month','Pick up date (month) not complete.','required'); formValidatorInstance.addRule('year','Pick up date (year) not complete.','required'); formValidatorInstance.addRule('hours','Pick up time (hour) not complete.','required'); formValidatorInstance.addRule('mins','Pick up time (minutes) not complete.','required'); formValidatorInstance.addRule('radio','AM/PM is required.','ischecked'); formValidatorInstance.addRule('radio','AM/PM is required.','ischecked'); formValidatorInstance.addRule('addressfield','Pick up address is required.','required'); formValidatorInstance.addRule('addressfieldto','Destination address is required.','required'); return formValidatorInstance.validate(); } </script> </head> <body> <div id="container"> <div id="content"> <h1> </h1> <form action="form123.php" method="post" onsubmit="return validate(this)"> <p>1 Your details</p> * Name:<br> <input type="text" name="name"><br> * E-mail:<br> <input type="text" name="email"><br> Telephone number:<br> <input type="text" name="tel"><br> Mobile:<br> <input type="text" name="mobile"><br> <p>2 Booking options</p> * No of passengers:<br> <input type="text" name="passenger"><br> <p>3 Journey details</p> <p>* Pick up date: <select name="day" id="day"> <option value= " " selected="selected"> Please select </option> <option value= "1">1</option> <option value= "2">2</option> <option value= "3">3</option> <option value= "4">4</option> <option value= "5">5</option> <option value= "6">6</option> <option value= "7">7</option> <option value= "9">8</option> <option value= "9">9</option> <option value= "10">10</option> <option value= "11">11</option> <option value= "12">12</option> <option value= "13">13</option> <option value= "14">14</option> <option value= "15">15</option> <option value= "16">16</option> <option value= "17">17</option> <option value= "18">18</option> <option value= "19">19</option> <option value= "20">20</option> <option value= "21">21</option> <option value= "22">22</option> <option value= "23">23</option> <option value= "24">24</option> <option value= "25">25</option> <option value= "26">26</option> <option value= "27">27</option> <option value= "28">28</option> <option value= "29">29</option> <option value= "30">30</option> <option value= "31">31</option> </select> <select name="month" id="month"> <option value= " "> Please select </option> <option value= "1">1</option> <option value= "2">2</option> <option value= "3">3</option> <option value= "4">4</option> <option value= "5">5</option> <option value= "6">6</option> <option value= "7">7</option> <option value= "8">8</option> <option value= "9">9</option> <option value= "10">10</option> <option value= "11">11</option> <option value= "12">12</option> </select> <select name="year"> <option value= " "> Please select </option> <option value= "2008">2008</option> <option value= "2009">2009</option> </select> </p> <p>* Pick up time: <input name="hours" type="text" id="hours" value="hours" size="7" maxlength="3" /> <input name="mins" type="text" id="mins" value="mins" size="7" maxlength="3" /> <input name="radio" type="radio" value="AM" /> am <input name="radio" type="radio" value="PM" /> pm</p> <p>* Pick up address including postcode: <textarea name="addressfield" id="addressfield"></textarea> </p> <p>via: <textarea name="via1field" id="via1field"></textarea> </p> <p>via: <textarea name="via2field" id="via2field"></textarea> </p> <p>via: <textarea name="via3field" id="via3field"></textarea> </p> <p>* Destination address: <textarea name="addressfieldto" id="addressfieldto"></textarea> </p> <p>Message: <textarea name="comments" id="comments"></textarea> </p> <p>* indicates these fields must be filled.</p> <p> <input type="submit" name="submit"> </form> </div> <div id="footer"> <p>footer </p> </div> </div> </body> </html> PHP: <title>form123.php</title><?php $recipient = "me@mydomain.co.uk"; $subject = "Contact Form Mail"; $message = "You've received an e-mail through your website mail form: \n"; $message .= "Their details: \n"; $message .= "Name: {$_POST['name']} \n"; $message .= "E-mail: {$_POST['email']} \n"; $message .= "Tel: {$_POST['tel']} \n"; $message .= "Mobile: {$_POST['mobile']} \n"; $message .= "Booking options: \n"; $message .= "No of passengers: {$_POST['passenger']} \n"; $message .= "Pickup date: Day is ".$day." Month is ".$month." Year is ".$year." \n"; $message .= "Pickup time: ".$hours.".".$mins." \n"; $message .= "AM or PM: ".$_POST['radio']." \n"; $message .= "Pickup address: ".$addressfield." \n"; $message .= "Via: ".$via1field." \n"; $message .= "Via: ".$via2field." \n"; $message .= "Via: ".$via3field." \n"; $message .= "Desination address ".$addressfieldto." \n"; $message .= "Message: ".$comments." \n"; $message .= "Price: ".$Price." \n"; $headers = "From: <$recipient> \n"; $headers .= "Reply-To: <{$_POST['email']}>"; if (mail($recipient,$subject,$message,$headers)) { {header("Location: [url="http://www.mydomain.co.uk/index.html")};"]http://www.mydomain.co.uk/index.html")};[/url] } else { echo "<p>Sorry, there was an error and your mail was not sent. Please find an alternative method of contacting the webmaster.</p>"; } ?> Many thanks in advance, John
  3. Hi Marie Love the site - I have sent you a PM! John
  4. I'm am wondering whether to use Google AdWords to try to drum up extra business. I'm just wondering if anyone on here uses it and what people's opinions in general are about it. I have got a £30 voucher from a web design magazine to use on it so want to use it wisely, even if I don't continuing using AdWords after the voucher has run out. Many thanks!
  5. Hi Steve Just noticed this post and had to reply as I'm from Lincoln too! Welcome to WDF. John
  6. I've got a soft spot for Croatia ever since I saw them play against Portugal in Euro 1996 at Notingham Forest's ground. Have to say, they looked good against the Germans yesterday.
  7. Cheers for the advice Wizely - I'm on the case!
  8. No worries Quimp. Cheers for the apology. At the end of the day I needed to know that I have to improve a lot and I have found that out today. You keep up the good work too!
  9. Again, I am indebted to your help - many thanks Notbanksy and Elite. Superb points. I am supposed to be off to Lanzarote to relax on Thursday. Now I'll be sat in the hotel with a laptop redoing my site
  10. Thanks Helen and 1Christopher - that's cheered me up a bit. It's a bit hard to take a battering like above when you've put so much time into doing something in which you think you're doing the right thing!
  11. Hi all. I am currently updating my site now. Thanks John
  12. Harsh but true I can't really mock though, it's not like Lincoln are world beaters!! However, we did pip Torquay to promotion in 1997 which is the last time we did anything worth celebrating!
  13. Have you ever met Helen Chamberlain then? I hear she goes to pretty much every game!
  14. I have great memories of him playing a small part in getting us promoted back in 1997! In his last home game before being transferred to Port Vale in September of that season he scored a hattrick against Scarborough (RIP) in an entertaining 3-3 draw. Him and Phil Stant had formed a great attacking partnership. I remember seeing him playing for Wimbledon (now moving back up the non-league scene) a few years later in the Premiership on Match of the Day and scoring two in a 3-3 draw with Newcastle. I once sold a chocice to Darren Huckerby when he played for Lincoln (I was working in a cinema at the time)! Thinking of footballers who have led rock star lifestyles, you should read 'The Greatest Footballer You Never Saw - The Robin Friday story', by Paul McGuigan and Paolo Hewitt. This guy was a living legend back in the 70s and would usually do a V sign to away fans when he scored a goal. Obviously you wouldn't get away with that these days but you can hardly celebrate properly without being carded now anyway! For his pre season training he would usually go to as many summer music festivals as he could fit in!!
  15. lincolnimp replied to Dizi's topic in General Chat
    Oh dear, let me get you another one!
  16. lincolnimp replied to Dizi's topic in General Chat
    Let's get this place rocking. Beers on me for the next 15 minutes! Please don't buy too many tho as i've only bought £20 out with me tonight!
  17. Being a comlete football addict I just had to contribute something here!! I have always been a fan of Lincoln City, ever since my dad took me to a game in 1985 when we lost 4-0 at home to Cardiff. We got relegated that season and the next we got relegated out of the Football League (first to do so under the new rules!). However, this didn't save me as I was completely and utterly hooked. I have many great memories from supporting the Imps. These include hammering Man City in the League Cup back in '97 - 4-1 at our place and 1-0 at Maine Road to set up a tie at then Premiership Southampton. We drew 2-2 at The Dell and the game was a complete sell out as tickets were only £10 and I understand several thousand Saints fans were locked out for this game. In the replay we lost 3-1. My favourite player of recent times is Sir Gareth Ainsworth. Headcoat, I understand Sir Gareth has signed a new player/coach contract with QPR. I was hoping he'd return to end hid playing days at Lincoln, but there seems little chance of that now. Check out the website for his band Yes, this is really a footballer in a punk rock band! Back in the late 90's when I was so obsessed with footie, I went to 59 league matches in a row, including going to the likds of Exeter in midweek and also Priestfield (Gillingham) to watch us beat then homeless Brighton 1-0. In the past ten years we have thrashed Fulham 4-0 in a league game when they were in the same division as us and we were also the first team to win a league game at new Premiership team Hull City's new KC stadium. I think you can gather from this that I love football!!! Super Imps
  18. lincolnimp replied to Dizi's topic in General Chat
    Just thought I'd pop in here on my way back from holiday and it looks like the place has shut down - is there a new pub in town?? John
  19. Hi all As you can tell by my name I am from Lincoln. I gave myself the username Lincolnimp as the Lincoln Imp is a stone carving within the Lincoln Cathedral which is a part of local history! The local football team are also called the Red Imps. Check out a bit more history on my website: http://www.cathedralwebdesign.co.uk/history/index.html Cheers John
  20. Xhop Many thanks for getting back to me, and I'm very sorry I've not thanked you for your help sooner - I've been on holiday for two weeks!! Anyway, I have just had a chance to look at what you have done and unfortunately the pick-up date and pick-up time still do not work. I copied and pasted the codes into dreamweaver and the pick-up date coding seems to show up on the actual form in the web browser. Not sure why that is. I would appreciate it if you had time to have a look at it again (or anyone else, I would be very grateful) Many thanks for your time! John PS The holiday was great ta :-)
  21. Hi Cari I went to South Africa for a holiday - Cape Town in fact - back in about 2001. I was awestruck by the beauty of the place but I also found it to be very humbling at times too. Highlights of the trip included walking on top of Table Mountain, a trip to Robben Island and a visit to a games reserve. I have lots of photos of my trip. I will have to dig them out and upload some of them. Take care John
  22. Hello again folks. I have changed the coding for my PHP so it my form now sends info to my email account but I still have a couple of minor problems to iron out. I need to be able to include some php code that deals with radio buttons and drop down menus without dramtically changing my script. I have looked on google for help but it seems I'd have to totally change my code. Has anyone got any simple suggestions for me please? Here are my two sets of code. HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Contact form</title> </head> <body> <div id="container"> <div id="header"> <p> </p> </div> <div id="content"> <h1> </h1> <form method="POST" action="mobileform.php"> <p>1 Your details</p> <p> * Name: <input name="namefield" type="text" id="namefield" /> </p> <p>* Email: <input name="emailfield" type="text" id="emailfield" /> </p> <p>Home tel: <input name="telfield" type="text" id="telfield" /> </p> <p>Mobile: <input name="mobilefield" type="text" id="mobilefield" /> </p> <p>2 Booking options</p> <p>* No of<br /> passengers: <input name="passengersfield" type="text" id="passengersfield" /> </p> <p>3 Journey details</p> <p>* Pick up date: <select name="day" id="day"> <option selected="selected">1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> </select> <select name="month" id="month"> <option selected="selected">1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> </select> <select name="year" id="year"> <option>2008</option> <option>2009</option> </select> </p> <p>* Pick up time: <input name="pick up time (hours)" type="text" id="pick up time (hours)" value="hours" size="7" maxlength="3" /> <input name="textfield" type="text" value="mins" size="7" maxlength="3" /> <input name="AM" type="radio" value="radiobutton" /> am <input name="PM" type="radio" value="radiobutton" /> pm</p> <p>* Pick up address including postcode: <textarea name="addressfield" id="addressfield"></textarea> </p> <p>via: <textarea name="via1field" id="via1field"></textarea> </p> <p>via: <textarea name="via2field" id="via2field"></textarea> </p> <p>via: <textarea name="via3field" id="via3field"></textarea> </p> <p>* Destination address: <textarea name="addressfield" id="addressfield"></textarea> </p> <p>Message: <textarea name="message" id="message"></textarea> </p> <p> <input name="Price:" type="hidden" id="Price:" /> </p> <p>* indicates these fields must be filled</p> <p> <input name="Reset" type="reset" id="Reset" value="Reset" /> <input type="submit"/> </p> </form> <p> </p> </div> <div id="footer"> <p>footer </p> </div> </div> </body> </html> PHP: <?php $message=" Enquiry Form: Name: ".$namefield." Email address: ".$emailfield." Telephone no.: ".$telfield." Mobile no.: ".$mobilefield." No. of passengers: ".$passengersfield." Pickup date: Day is ".$day." Month is ".$month." Year is ".$year." Pickup time: ".$hours." ".$mins." AM or PM: ".$radiobutton." Pickup address: ".$addressfield." Via: ".$via1field." Via: ".$via2field." Via: ".$via3field." Desination address ".$addressfield." Message: ".$message." Price: ".$Price." "; $message = stripslashes($message); mail( "me@myemailaddress.co.uk", "Feedback Form Results", $message, "From: $emailfield" ); header( "Location: http://www.cathedralwebdesign.co.uk/" ); ?> I do realise that I need to add some form validation and way to stop spammers but I will deal with these later. I'm just taking things step by step at the mo. Any ideas will be greatly appreciated. Many thanks John
  23. lincolnimp replied to Dizi's topic in General Chat
    I'm the first person in the bar this morning! I'll help myself to a lemonade, then I'll pop into the beer garden to sun myself!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.