-
"autofill" form fields on different page
alright i must be retarded. heres the code on the first page (informationalemployee.php) <form> Wish to upload form? <br> <input type="button" id="UploadBtn" value="Click Here to upload" /> <script type="text/javascript"> $(function(){ $('#UploadBtn').click(function(){ popup('http://callumpirie.com/dev/dd/new/uploadform.php?name='+$('input[name="cf_name"]').val()+'&email='+$('input[name="cf_email"]').val()) return false; }) }) </script> </form> heres the code for uploadform.php <form method="post" action="<?=$_SERVER['PHP_SELF'];?>" enctype="multipart/form-data" name="form" onsubmit="return form_Validator(this);"> <?If($sent_mail!=true) {?> <?php $vacancy = $_GET['vacancy']; ?> <td width="227" height="40" bgcolor="#CCCCCC" class="main">FULL LEGAL NAME</td> <td width="1" height="40" bgcolor="#CCCCCC" class="main"> </td> <td height="40" colspan="2" bgcolor="#CCCCCC" class="main"><input type="TEXT" name="Name" size="55" class="main" value="<?php echo $_GET['cf_name']; ?>" /></td> </tr> <tr> <td height="40" bgcolor="#CCCCCC" class="main">EMAIL ADDRESS</td> <td height="40" bgcolor="#CCCCCC" class="main"> </td> <td height="40" colspan="2" bgcolor="#CCCCCC" class="main"><input type="TEXT" name="email" size="55" class="main" value="<?php echo $_GET['cf_email']; ?>" /> </td> </tr> <tr> <a name="top"></a> <?php For($i=1;$i <= $allowattach; $i++) {?> <td height="40" bgcolor="#CCCCCC" class="main">UPLOAD FILE:</td> <td width="1" height="40" bgcolor="#CCCCCC" class="main"> </td> <td height="40" bgcolor="#CCCCCC" class="main"><input name="attachment[]" type="file" size="30" onClick='alert("Only .doc .pdf .rtf or .txt files will be accepted \n Maximum file size = 2mb ")'/></td> <tr> <td><input type="hidden" name="vacancy" value="<?php echo "$vacancy"; ?>" /><input type="hidden" name="submit" value="true" /><INPUT TYPE="image" SRC="images/sendandproceed.jpg" HEIGHT="25" WIDTH="139" BORDER="0" ALT="Submit Form"> </td> </tr> <?php } } else{ usleep(1000000); ?> <div align="center" class="thanks_message"><?=$thanksmessage;?></div> <?php } ?> again any help would be awesome! Thanks,
-
"autofill" form fields on different page
Thanks for the help guys. Will give it a go
-
"autofill" form fields on different page
Hi, I'd like to know if there's a way to "autofill" form fields on two different web pages. i have a form with a text field called 'cf_name'. I want it so when you type your name and then click on a link below that name or text transfers over to the other form heres the forms I have. http://callumpirie.com/dev/dd/new/informationlemployee.php when you click Yes, the rest of the form drops down . When you click "Wish to upload form? Click here" a new form popsup (link below) http://callumpirie.com/dev/dd/new/uploadform.php Pretty much I want the Full Legal Name on the informationlemployee.php page to show up on the Full Legal Name on the uploadform.php is this possible, I hope i explained myself correctly. Thanks,
-
contact form
Hi there . I have got my code all setup the way i want but I wish to have the body messages come up bold.. here is my code <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_text1']; $field_message2 = $_POST['cf_text2']; $field_message3 = $_POST['cf_text3']; $mail_to = 'ruscal@orcon.net.nz'; $subject = 'Message from a site visitor '.$field_name; $body_message = 'From: '.$field_name."\n"; $body_message .= 'E-mail: '.$field_email."\n"; $body_message .='If you have a written employment agreement, what is the name of the employer as written in that agreement:'.$field_message; $body_message .= 'If you dont have a written employment agreement, what is the name(s) that appear on your bank statement as paying your wages/salary: '.$field_message2; $body_message .= 'If you dont have a written employment agreement or are not sure who pays your wages/salary, who do you think is your employer: '.$field_message3; $headers = 'From: '.$field_email."\r\n"; $headers .= 'Reply-To: '.$field_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $headers); if ($mail_status) { ?> <script language="javascript" type="text/javascript"> alert('Thank you for the message. We will contact you shortly.'); window.location = 'employee.html'; </script> <?php } else { ?> <script language="javascript" type="text/javascript"> alert('Message failed. Please, send an email to ruscal@orcon.net.nz'); window.location = 'employee.html'; </script> <?php } ?> I am wanting to space out the email and also add bold to the follow lines; 'If you have a written employment agreement, what is the name of the employer as written in that agreement: If you dont have a written employment agreement, what is the name(s) that appear on your bank statement as paying your wages/salary: ' 'If you dont have a written employment agreement or are not sure who pays your wages/salary, who do you think is your employer: ' at the moment the email is coming out like so; From: asdasd E-mail: ruscal@orcon.net.nz If you have a written employment agreement, what is the name of the employer as written in that agreement:asdasdasdIf you dont have a written employment agreement, what is the name(s) that appear on your bank statement as paying your wages/salary: asdasdasdIf you dont have a written employment agreement or are not sure who pays your wages/salary, who do you think is your employer: asdasdasd Thanks,
-
opacity bar not working
hi there, Im looking at trying to get the opacity bar sitting in the centre of the screen on the website to stretch or repeat right across the page http://callumpirie.com/dev/cnz/index.html as you can see its contained in the container but I want it to stretch across the background aswell Thanks Callum
-
Transparency
Hi there, Is there anyway to change the transparency of text which isnt an image? I have a copyright footer at the bottom of the page and was hoping to change the transparency to 50%. is this possible? Thanks
-
rollover effects
everything i keep trying doesnt seem to work.
-
rollover effects
I will try this a little later on today. Thanks for the help guys
-
rollover effects
i dont know PHP (cant do abit of editing thats it) but I know HTML and CSS. also i forgot to mention the navigational links are images.
-
Contact plugin or script with database feature
Hi there, I'm looking for some sort of script or plugin feature where you can customize or create a contact form which then creates some sort of database with client details (only the details the client fills out ie. name, etc) Thanks!
-
rollover effects
Hi there, Sorry this is a really silly question. I have a website designed and nearly finished coding. I am looking for the rollover or hit state where it the text in the navigation stays bold on whatever page you are on. for example if you're on the index page the 'home' navigational link will be bold and the other links wouldnt be. then you click on services and 'services' will now become bold and 'home' wouldnt be. I hope this makes sense. Thank you !