Results 1 to 9 of 9

Thread: very simple instant quote script

  1. #1
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy very simple instant quote script

    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

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    I think you meant genes not jeans.

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

  3. #3
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi

    any coder wish to write this for me..?

    no money

    just lots of thanks

  5. #5
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    If you make the HTML form, I could write the PHP code for you (as I am sure some others would as well).
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  6. #6
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    oh thank you

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

    thank you

  7. #7
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    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

  8. #8
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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


    Code:
    <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>

  9. #9
    Join Date
    Apr 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi
    was it to good to be true

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

    thanks in advance

    Gibby - I really appreciate your help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •