PDA

View Full Version : very simple instant quote script



gibby
04-16-2007, 04:37 PM
hi

i have no idea how to script just not in my jeans :-( so any help would be greatly appreciated.

Something like this http://www.click2translate.com/quote/quick_quote.asp

choose high, medium, low - High adds 20% medium adds 10% low 0%
input a number
select a currency, dollars, pounds, RMB
choose a language
choose another language
click go

I have seen plenty of scripts but nothing this simple

Can anyone help me..I guess it would be a nice simple script to make.

Thanks in advance

Gibby
that's it

boogyman
04-16-2007, 08:39 PM
I think you meant genes not jeans.

and what are the percentages? 20% / 10% of what?

gibby
04-17-2007, 03:05 AM
Sorry i am chinese my english is soso

The 20% and 10% are added to amount of quote

(input a number)number of words x currency + 10 or 20%

I hope this is OK

Gibby :o

gibby
04-17-2007, 10:31 AM
Hi

any coder wish to write this for me..?

no money :eek:

just lots of thanks

thetestingsite
04-18-2007, 03:00 AM
If you make the HTML form, I could write the PHP code for you (as I am sure some others would as well).

gibby
04-19-2007, 05:21 AM
oh thank you

I will make a form tonight and send it to you. please tell me where to send it

thank you :)

boogyman
04-19-2007, 03:49 PM
you can just post it on here.. but make sure to wrap it in [c.ode] [/c.ode] tags without the periods.

also, does your server support php? because it would be a shame if we wrote the script and you didn't have supprt for it

gibby
04-19-2007, 05:22 PM
hi
this is a very simple form - sorry i am not good and check boxes not work properly - please have a look for me you can only check one and not the other line.

check document type
check delivery time
input number of words
select currency
choose source and target languages
click get quote

number of words x curency selected (amount coded i.e. 1 word = 0.10 dollars)
total has this added check delivery time - normal (0%) express (20%)
total has this added check document type - general (0%) others (20%)

output total of quote
details - quote amount
number of words
delivery time
document type
languages

I hope this is ok and clear to understand

many thankyou




<body>

<p>This is the Instant quote generator form. Please complete the form and click
the &quot;get quote&quot; button</p>
<form method="POST" action="--WEBBOT-SELF--">
<p><strong>What is the document type?</strong></p>
<dl>
<dd><input type="radio" name="MessageType" value="Complaint">Technical
<input type="radio" name="MessageType" value="Problem">Legal
<input type="radio" name="MessageType" value="Suggestion">General
<input type="radio" name="MessageType" value="Praise">Website</dd>
</dl>
<p><strong>What deliver time do you want?</strong></p>
<dl>
<dd><input type="radio" name="MessageType" value="Complaint1">Normal -
72 hours <input type="radio" name="MessageType" value="Problem1">Express
- 48 hours</dd>
<dt>&nbsp;</dt>
<dt><b>How many words?</b></dt>
<dd>&nbsp;</dd>
<dd>Words:
<input type="text" size="26" maxlength="256" name="SubjectOther1"></dd>
</dl>
<p><strong>Select your currency?</strong></p>
<dl>
<dd><select name="Subject1" size="1">
<option selected>RMB</option>
<option>Euro</option>
<option>Dollar</option>
<option>Pound</option>
</select> </dd>
</dl>
<p><strong>What is the source language?</strong></p>
<dl>
<dd><select name="Subject" size="1">
<option selected>English</option>
<option>Chinese(S)</option>
<option>Chinese(T)</option>
<option>Japanese</option>
<option>Korean</option>
<option>(Other)</option>
</select> Other:
<input type="text" size="26" maxlength="256" name="SubjectOther"></dd>
</dl>
<p><strong>What is the target language?</strong></p>
<dl>
<dd><select name="Subject0" size="1">
<option selected>English</option>
<option>Chinese(S)</option>
<option>Chinese(T)</option>
<option>Japanese</option>
<option>Korean</option>
<option>(Other)</option>
</select> Other:
<input type="text" size="26" maxlength="256" name="SubjectOther0"></dd>
</dl>
<p><input type="submit" value="Get Quote">
<input type="reset" value="Clear Form"></p>
</form>

</body>

gibby
04-22-2007, 07:18 PM
hi
was it to good to be true :confused:

just joking I know you guys are busy but can someone give me some help

thanks in advance

Gibby - I really appreciate your help