Everything posted by Sjackson
-
using long sentences in form
any help is really appriciated everything was fine until they asked me to add extra fields with super long questions
-
using long sentences in form
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
-
using long sentences in form
the client needs the full questions posting to his team
-
using long sentences in form
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
-
php form
if non of the options was selected how can i hide the message any ideas
-
php form
big massive thanks to you both spitfire and elanman thats it its working couldent thank you enough :drinks: :drinks: :drinks: realy appriciate it
-
php form
get this now You would like to suspend your account forundefined
-
php form
it did work spitfire sort of it displays the message but keeps displaying 1 month only any ideas thanks for the suggestion
-
php form
thanks spitfire i will give it a go :clapping: :clapping:
-
php form
// 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
-
php form
thanks spitfire so would the javascript display the data in my div ? any ideas of a tutorial on the web to do this
-
php form
any ideas wrecking my brains
-
php form
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:
-
php form
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
-
php form
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
-
i need some advice
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:
-
Slider
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
-
joomla
Hi steve i have just finished a property web site with joomla pm me
-
Opening myself up for pain.......
to dark for me sorry
-
need some advice
any thing else i am really strugling i can not get in the top 100 for some reason for electrical contractor/s HELP
-
need some advice
cheers for your reply i have added the google business once again thanks for your advice
-
need some advice
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
-
domain seo
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
-
need some help
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
-
need some help
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