Passing Results Of This Sq Ft Converter To A Form?
Jun 15, 2011
Ive been trying to pass the results of this converter to a form on a seporate url - I have looked into this but cant seem to pass a "readonly" Var. have a 2nd field that would work out a percentage e.g a + VAT.
[
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
[code]....
View 4 Replies
ADVERTISEMENT
Jan 27, 2010
1. First form on the page has questions with radio buttons. Each radio's value is a number so a score is assessed at the end.
2. Second form on the page is an email the admin form, which duplicates the score in one field.
Question: I would like to know how to write the form results to a text area in second form. However, I can't do this for one, and secondly, the value is a number, can I use labels? Here's the code I've 'made up' so far...
[Code]...
View 1 Replies
View Related
Aug 4, 2010
i want to display the form results on the same page. how do i do that? i have radio buttons, checkboxes, password and texts in my form.
View 14 Replies
View Related
Oct 1, 2004
Here is a unit converter. At the moment it does length and weight, both in imperial and metric measurements. I'll put up soon instructions on how to add more units/unit types.
View 3 Replies
View Related
Sep 24, 2009
I'm putting together the following website, HGV/LGV Training [URL] and have an issue regarding a form submit action. Basically I've used an open-source script for the search form so can't get any support from the Author.
My problem is that I need the search results to appear in a different URL but at the moment they just appear in a new DIV on the home page. My knowledge of JS is limited and can't get my head around what the OS script is doing. I think the relevant section of the search form is as follows:
<form method=post action=<?echo $_PHP_SELF;?>>
<input type="text" name="zipcode">
<? echo show_country_codes(); ?>
View 2 Replies
View Related
Mar 27, 2006
I have an appointment form with NAME, DATE, TIME, LOCATION. I want to add another set of these same field fields if I have more than one appointment to enter so all appointments are subitted on one form.
I also want the results to be in a layout other than the generic HTML or text layout used by Frontpage. Hope this is clear enough. Don't know if this is possible.
View 4 Replies
View Related
Mar 3, 2007
What i'd like is a simple converter to allow a user to input the distance travelled
in miles and the time in hours and minutes, the result being an average speed. What i'd appreciate is for someone to write the script for me and post here if possible.
View 11 Replies
View Related
Nov 23, 2010
I need to create a conversion tool. On one side of the tool are 4 form boxes. On the other, just text (not in form boxes). Under the covers, I have formulas for converting the numbers -- mostly basic math functions. So, the user types in numbers, clicks convert and the text changes.For some reason, I'm having a hard time getting this to go. How can I get the results of these calculations to show up as text within a DIV tag and not inside a form element? There are lots of examples of getting these calculations to appear within form boxes, but not within DIVs. This page is already using the Dojo toolkit for some other functionality, is this something I could leverage here to build my Javascript?
View 5 Replies
View Related
Nov 14, 2011
I have to convert english to pig latin for an assignment. I am having trouble with my code.The assignment is that I have 2 separated functions on a page - one that does an individual word only and the other that will convert a whole phrase.I am getting error messages but I cannot figure them out. I guess I have banged my head against the wall too many times to count over this code.
Here is my code so far:
<html>
<head>
<script type="text/javascript" src="convert.js">
[code]....
View 14 Replies
View Related
Apr 1, 2006
I am trying to do a simple check-all / un-check-all checkbox system.
All of the solutions I have seen use "this.form.elements.length" or a
variant of this.
My scripts don't work because "this.form.elements.length" always
returns 0. Example:
document.write(this.FormName.elements.length);
displays "0"
Am I missing something obvious here?
View 3 Replies
View Related
Sep 14, 2009
I have a form that is submitted via jquery into a mysql database using php code...
View 1 Replies
View Related
Feb 18, 2011
I need to change the result to opening a url page. This script results in a value and I need the result to be open a url page.
<SCRIPT language="Javascript">
nome = new Array(4);
nome[0] = new Array(4);
[code]....
View 4 Replies
View Related
Apr 7, 2011
I have a form with results and ID's for each field, I can get an alert to popup with the results, is there anyway to display this on the webpage?
This is what I have so far:
document.getElementById('result').write(account.value +" "+ rep.value +" "+ error1.value +" "+ fix.value);
along with this in the HTML:
<p id='result'></p>
View 2 Replies
View Related
May 6, 2010
I found an article [URL] that allows a user to search Google directions from a web page. It works very well, however is it possible to have the resulting page open in a popup window?
View 3 Replies
View Related
Oct 20, 2005
I am trying to create a page that sends user contact information to the appropriate email address. Depending on where the user lives, say California, the results will be sent to the person assigned to California, such as "bob@mail.com (not a real email address).
Right now, I am only working with three states until I get the page up and running:
California (CA = bob@mail.com)
Texas (TX = mary@mail.com)
New York (NY = john@mail.com)
Also, I need the results sent by the form, not as an actual email. I already have this set up and working. I just need to figure out how to pass the variable. Any suggestions? Code:
View 3 Replies
View Related
Aug 14, 2009
I am having some trouble with this form .It is not returning any errors, it is simply not returning the results of the form fields.
The clear form works, the redirect works, the layout is fine, just no results. I am just beginning to learn Javascripts and I know this is a pretty basic script.[code]...
View 4 Replies
View Related
Sep 23, 2011
i'm trying to write an character converter using php and ajax. i'm getting a really anoing error(uncaught TypeError). i've added screenshot of the error. and this is the xml i'm trying to read generated with php
<?php
$key = $_GET['key'];
header('Content-type:text/ xml').PHP_EOL;
$xml_output = "<?xml version="1.0"encoding="UTF-8"?>".PHP_EOL;
$xml_output .= "<Root>".PHP_EOL;
$xml_output .= "
[Code]...
View 4 Replies
View Related
Mar 26, 2009
I've got a couple of online self-assessment forms on my site.They go as follows:
// total score
var total = 0;
// number of questions
[code]....
View 7 Replies
View Related
Jun 11, 2009
I an wanting to make a form where all of the text fields will be output in html table format to a new webpage. For example, Name, Age, Location, etc. When the user clicks submit I want to write a new html file based on the user's name (for exmaple chris.html). This seems like it would be fairly easy to do. Can anyone give me example coding to get me started?
View 2 Replies
View Related
Oct 2, 2004
I use php includes to display a small form on a web page.The form has only about 2 fields,and when the user hits submit I want the form to be submitted but at the same time I dont want the page to be redirected.Instead I want a small window to pop up saying thank you or whatever.To see a demonstration of what I want to do,please go to download.com ,scroll down to the bottom of the page and you'll see a poll.When you make a vote a new window pops up showing the results of the vote but you arent moved from download.com's homepage to any other page in the parent window.How can I acheive that?I'm using this code right now:
<script language="JavaScript">
function showpoll() {
window.open('manage.php','manage','width=260,height=360,status=no,scrollbars=yes,resizable=no,toolbar=no');
document.forms["form1"].submit();
}
</script>
<form method="post" action="manage.php" onSubmit= "showpoll();" name="form1">
When I hit the submit button on the form a new window does pop up containing manage.php but it doesnt submit the form since manage.php doesnt give the message that its supposed to give when the form is submitted.It instead asks me to input all the fields.While the parent window is redirected to manage.php and it shows the message that its supposed to show when the form has been submitted.I hope I made myself clear.
View 1 Replies
View Related
Oct 9, 2002
Does anyone know if there is a script which can do the following?
Contains 2 Drop down menus, depending on which items were picked from menu 1 and menu 2 - a text result would appear in a box next to the 2 drop down menus.
Its important the drop down menus and text result are set in a table so that it can be moved around to anywhere on a webpage.
I am certain i did see this script somewhere but now i would like to use it i can't find it anywhere.
If anyone is willing to make the script for me then i could give them a banner ad on my website for a couple months in return?
View 11 Replies
View Related
Aug 13, 2010
I would like to be able to make it so that an order form only submits positive results.I have modified this form for my friends website. She has 50 different products that she makes (different sizes and colors). The form submits results for things ordered but also for things not ordered.
PROD_yellow_3.00=
PROD_green_3.00=
PROD_blue_3.00=
[code]....
View 17 Replies
View Related
May 22, 2010
I need to create a currency converter using a drop down menu. Firstly i needed to do a regular expressions check to make sure only numerics are entered and I got that. The one thing im pretty confused on is how to do the calculations in the actual function.
<html>
<head>
<style type ="text/css">
@import url(style.css);
[code]....
View 5 Replies
View Related
Jun 19, 2010
I am trying to make a unit converter with two dropdown boxes, two textfields and a button. I want to enter a number into the first textfield, select a unit option, then select another appropriate unit option based on the first selection, press the button and get the result in the second textfield. What would be the best approach for this. So far I have:
[Code]....
View 5 Replies
View Related
Mar 7, 2011
I've been reading my JS book, have done a 'Degrees Converter' which converts fahrenheit into centigrade. There is a prompt box which automatically loads when the website is loaded. I am pressuming this is because I have my script in the body.How do I get my script as a link? I wanted to put the words 'Degrees Converter' onto my page(as a link), so that when people click the link, it loads up the prompt box.
View 3 Replies
View Related
Jul 1, 2011
I am building a simple converter, converting between mm's and inches and I need to round off the results to 2 and 3 decimal places respectively.The code can be seen below can anyone show me how to get my results with decimal places:
<head>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
[code]...
View 4 Replies
View Related