Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question forms,selection boxes

    i having a problem in the form i made. At the bottom of the page i have 2 selection boxes. The first one when an item is selected it should display a corresponding price for the array in the box underneath it. Then when u select an item in the second selection box u should get an extended price in the box under it. But for some reason it's not working. HELP would be appreciated.
    Attached Files Attached Files

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Round Rock, Texas
    Posts
    443
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Please excuse me if I am blunt, but get some professional help.

    I say this because this site is part of a business.

    There's a lot wrong with this site, code, design... My opinion is even if you manage to get even the rudimentary elements working, in the long run the site will be hard for folks to use, buggy, ugly, hard for a programmer to modify / extend, yada yada yada. and so on.

    • Array declaration is not correct.
    • Why so many <form>s?
    • That background color!
    • Why display ticking seconds?
    • Why display it (and the date) in an (editable) textbox?
    • Why so many script tags?
    • Some of the code in your SWITCH cases will never execute.
    • Error messages like "... make sure all blanks have been filled" is hardly helpful to the user.
    • Many<td>s have exactly the same id. Several are defined like this <td id="text">. Using "text" as an ID is a very bad idea. "Text" happens to be an attribute or attribute value of some tags. The code will just be confusing.
    • requiredhours.extprice does not exist on the HTML page.
    • substring syntax is wrong in function JOBPRICES(). The substring index is probably wrong too. Indexes start at 0 in JavaScript.
    • I'm tired. Time for a drink.

    No you don't need fancy-smanchy, but this is a *bad* start.


  •  

    Posting Permissions

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