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.

Sjackson

Members
  • Joined

  • Last visited

Everything posted by Sjackson

  1. any help is really appriciated everything was fine until they asked me to add extra fields with super long questions
  2. i have this code in my sendmail.php file $extras = ''; foreach ($_POST as $key => $field) { if(!in_array($key,$currently_active)) { $extras.= $key . ": " . $field . "<br /> \n"; } } If i add any fields manually to contact form, this grabs them and send them in the email also this form has no page refresh
  3. the client needs the full questions posting to his team
  4. i currently have a few form elements that will need long name elements <label for="Reducing your fee whilst we build your account means we can finish what we have started and you pay less. Once we finish the build you may wish to up the phrases again after you have seen the positive results. Is this of interest?" class="name">Reducing your fee ( phrases) whilst we build your account means we can finish what we have started and you pay less. Once we finish the build you may wish to up the again after you have seen the positive results. Is this of interest?</label> <input type="checkbox" name="Reducing your fee whilst we build your account means we can finish what we have started and you pay less. Once we finish the build you may wish to up the phrases again after you have seen the positive results. Is this of interest?" id="" class="required" value="yes"/>yes <input type="checkbox" name="Reducing your fee whilst we build your account means we can finish what we have started and you pay less. Once we finish the build you may wish to up the phrases again after you have seen the positive results. Is this of interest?" id="" class="required" value="no"/>no how would i go about posting the name element in php or is there ristriction on word/letter lenth in forms cannot seem to get it to post
  5. Sjackson replied to Sjackson's topic in Server Side
    if non of the options was selected how can i hide the message any ideas
  6. Sjackson replied to Sjackson's topic in Server Side
    big massive thanks to you both spitfire and elanman thats it its working couldent thank you enough :drinks: :drinks: :drinks: realy appriciate it
  7. Sjackson replied to Sjackson's topic in Server Side
    get this now You would like to suspend your account forundefined
  8. Sjackson replied to Sjackson's topic in Server Side
    it did work spitfire sort of it displays the message but keeps displaying 1 month only any ideas thanks for the suggestion
  9. Sjackson replied to Sjackson's topic in Server Side
    thanks spitfire i will give it a go :clapping: :clapping:
  10. Sjackson replied to Sjackson's topic in Server Side
    // Contact Form // --------------------------------------------------------- //Define URL to PHP mail file url = "sendmail1.php"; //Activate $ form validation $("#jsk-contact").validate({ submitHandler: function() { //Define data string var datastring = $("#jsk-contact").serialize(); //Submit form $.ajax({ type: "POST", url: url, data: datastring, success: function(){ $('#jsk-contact').slideUp(); $('#sent').fadeIn(); } }); } }); // --------------------------------------------------------- thats the jquery what code will i need to add to display the form data that i need
  11. Sjackson replied to Sjackson's topic in Server Side
    thanks spitfire so would the javascript display the data in my div ? any ideas of a tutorial on the web to do this
  12. Sjackson replied to Sjackson's topic in Server Side
    any ideas wrecking my brains
  13. Sjackson replied to Sjackson's topic in Server Side
    after submitting my form to sendmail.php and message sent jquery kicks in with no page refresh and displays a <div id"sent"> with my message on the same page. what i am trying to achive is to display data from the form below on the same page <form action="sendmail1.php" method="post"> <fieldset> <li> <label for="suspend-account" class="name">Suspend your account</label> <select name="item"> <option>1 Month</option> <option>2 Months</option> <option>3 Months</option> </select> <li> <label for="reason-for-cancellation" class="name">Reason for cancellation</label> <textarea name="reason-for-cancellation" id="reason-for-cancellation" class="required"></textarea> </li> <li> <label for="submit" class="name"> </label> <input type="submit" id="submit" value="Submit" /> <input type="hidden" name="submitted" id="submitted" value="true" /> </li> </ol> </fieldset> </form> <div id="sent"> <h3>Your message has been sent!</h3> <?php echo "you would like to suspend your account for " . $item . ".<br />";</div> any ideas i am really stuck help :sorry: :sorry:
  14. Sjackson replied to Sjackson's topic in Server Side
    yeah i need to show the result of the clients choice once the form has been submitted in the thank you message [example] they ticked option 1 suspend for 1 month i need the option that they ticked to display in the message your campaign will be suspended for 1 month as per your request. Your account will automatically go back live in 1 month from your next renewal date. One of our agents will be in contact with you shortly to confirm all details. Thank you for your business. sorry for my poor explaination
  15. Sjackson posted a topic in Server Side
    Hi after some advice i have created a cancellation form for a client and the last 3 options are 1 month 2 months and 3 months. after the form is submitted the user gets a modial pop up with the message your campaign will be suspended for xxx months as per your request. Your account will automatically go back live in xxx mnths from your next renewal date. One of our agents will be in contact with you shortly to confirm all details. Thank you for your business. would it be possible to make the xxx say 1 month 2months ect basically i need the form to pickup wich option they chose and display it in the thankyou message could this be achived with php
  16. Hey does anyone no off a jquery or mootools script that would create something similer to this forms script i dont whant to go down the flash route any ideas Regards Stu :rolleyes:
  17. you need to add them like this <head> <link rel="stylesheet" href="your-sites-css-folder/nivo-slider.css" type="text/css" media="screen" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> <script src="your-sites-javascript-folder/jquery.nivo.slider.pack.js" type="text/javascript"></script> then after that you need to load the script <script type="text/javascript"> $(window).load(function() { $('#slider').nivoSlider(); }); </script> </head> hope that helps
  18. Hi steve i have just finished a property web site with joomla pm me
  19. any thing else i am really strugling i can not get in the top 100 for some reason for electrical contractor/s HELP
  20. cheers for your reply i have added the google business once again thanks for your advice
  21. hey there need some advice or tips i am trying to get a site further up google for a certain keyword Electrical contractors / contractor i got it on page one with the search word electrical contractors manchester but i cannot get in the top 100 for electrical contractors any ideas or tips i used google page speed and have a score of 95/100 heres the web site the site cheeers regards Stuart
  22. hi i have just took on a new client and he asked me to purchase 5 new domains related to his services what would be the best way to do this he whants them all to point to his main domain what would be the best way to do this in terms of seo Regards Stuart
  23. cool that worked but could you tell me y its showing the server name in the the email that i get i thought it would say my domain name in there and yes whats the best way for from validation or if you could point me to a script i could use cheers stu
  24. Sjackson posted a topic in Server Side
    when i test my form it is being deliverd to the email address in my form not the email address in the php code here the code i have <?php $email = "*********.co.uk"; $name = $_POST["name"]; $phone = $_POST["phone"]; $email = $_POST["email"]; $subject = $_POST["subject"]; $message = $_POST["message"]; $text = "NAME: $name<br> PHONE: $phone<br> EMAIL: $email<br> SUBJECT: $subject<br> MESSAGE: $message"; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html; charset=utf-8" . "\r\n"; $headers .= "From: $name" . "\r\n"; mail($email, "Message", $text, $headers); ?> it also bring the server name compleate noob with php

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.