How to change drop down box HTML code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mobilejack101
    Staff Sergeant

    • Oct 2007
    • 41

    How to change drop down box HTML code?

    This is what my HTML code looks like...
    (if I look at the HTML of my "Loan amount" combo box on my site "saloans.net")

    <option>-Please Choose-</option>
    <option>PERSONAL LOANS</option>
    <option value="Between R750 - R2 000">Between R750 - R2 000</option>
    <option value="Between R2 000 - R4 000">Between R2 000 - R4 000</option>
    <option value="Between R4 000 - R8 000">Between R4 000 - R8 000</option>
    <option value="Between R8 000 - R10 000">Between R8 000 - R10 000</option>
    <option value="Between R10 00 - R20 000">Between R10 00 - R20 000</option>
    <option>--1ST, 2ND AND OTHER BONDS--</option>
    <option value="Between R50 000 - **** 000">Between R50 000 - **** 000</option>
    <option value="Between **** 000 - R200 000">Between **** 000 - R200 000</option>
    <option value="Between R300 000 - R400 000">Between R300 000 - R400 000</option>
    <option value="Between R400 000 - R500 000">Between R400 000 - R500 000</option>
    <option value="Between R500 000 - R600 000">Between R500 000 - R600 000</option>
    <option value="Between R600 000 - R700 000">Between R600 000 - R700 000</option>
    <option value="Between R700 000 - R800 000">Between R700 000 - R800 000</option>
    <option value="Between R800 000 - R900 000">Between R800 000 - R900 000</option>
    <option value="Between R1 000 000 - R1 500 000">Between R1 000 000 - R1 500 000</option>
    <option value="Between R1 500 000 - R2 000 000">Between R1 500 000 - R2 000 000</option>
    <option value="Between R2 000 000 - R2 500 000">Between R2 000 000 - R2 500 000</option>
    <option value="Between R2 500 000 - R3 000 000">Between R2 500 000 - R3 000 000</option>
    <option value="More than R3 000 000">More than R3 000 000</option>
    <option>--BLACK LISTED HOME OWNERS--</option>
    <option value="Between R50 000 - **** 000">Between R50 000 - **** 000</option>
    <option value="Between **** 000 - R300 000">Between **** 000 - R300 000</option>
    <option value="Between R300 000 - R500 000">Between R300 000 - R500 000</option>
    <option value="Between R500 000 - R1 000 000">Between R500 000 - R1 000 000</option>
    <option value="Between R1 000 000 - R1 500 000">Between R1 000 000 - R1 500 000</option>
    <option value="Between R1 500 000 - R2 000 000">Between R1 500 000 - R2 000 000</option>
    <option value="Between R2 000 000 - R3 000 000">Between R2 000 000 - R3 000 000</option>
    <option value="More than R3 000 000">More than R3 000 000</option>
    <option>--CAR FINANCE--</option>
    <option value="R50 000 - R80 000">R50 000 - R80 000</option>
    <option value="R80 000 - R150 000">R80 000 - R150 000</option>
    <option value="R150 000 - R300 000">R150 000 - R300 000</option>
    <option value="More Than R300 000">More Than R300 000</option>
    <option>--BRIDGING FUNDS FOR A BOND--</option>
    <option value="R50 000 - **** 000">R50 000 - **** 000</option>
    <option value="**** 000 - R200 000">**** 000 - R200 000</option>
    <option value="R200 000 - R300 000">R200 000 - R300 000</option>
    <option value="R300 000 - R400 000">R300 000 - R400 000</option>
    <option value="R400 000 - R500 000">R400 000 - R500 000</option>
    <option value="R500 000 - R600 000">R500 000 - R600 000</option>
    <option value="R600 000 - R700 000">R600 000 - R700 000</option>
    <option value="R700 000 - R800 000">R700 000 - R800 000</option>
    <option value="R800 000 - R900 000">R800 000 - R900 000</option>
    <option value="R900 000 - R1 000 000">R900 000 - R1 000 000</option>
    <option>More than R1 000 000</option>
    I need to change it to this...


    OPTION value="" > - Please Choose - </option>
    <OPTION value="" ></option>
    <optgroup label="PERSONAL LOANS">
    <OPTION value="R750-R2000 Personal Loan" >Between R750 & R2 000</option>
    <OPTION value="R2000-R4000 Personal Loan" >Between R2 000 & R4 000</option>
    <OPTION value="R4000-R8000 Personal Loan" >Between R4 000 & R8 000</option>
    <OPTION value="R8000-****00 Personal Loan" >Between R8 000 & R10 000</option>
    </optgroup>

    <OPTION value="" ></option>
    <optgroup label="1st, 2nd & OTHER BONDS">
    <OPTION value="R50000-****000 Bond" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R200000 Bond" >Between **** 000 & R200 000</option>
    <OPTION value="R200000-R300000 Bond" >Between R200 000 & R300 000</option>
    <OPTION value="R300000-R400000 Bond" >Between R300 000 & R400 000</option>
    <OPTION value="R400000-R500000 Bond" >Between R400 000 & R500 000</option>

    <OPTION value="R500000-R700000 Bond" >Between R500 000 & R700 000</option>
    <OPTION value="R700000-****0000 Bond" >Between R700 000 & R1 000 000</option>
    <OPTION value="****0000-R1500000 Bond" >Between R1 000 000 & R1 500 000</option>
    <OPTION value="R1500000-R2000000 Bond" >Between R1 500 000 & R2 000 000</option>
    <OPTION value="R2000000-R3000000 Bond" >Between R2 000 000 & R3 000 000</option>
    <OPTION value="More than R3000000 Bond" >More than R3 000 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="BLACKLISTED HOMEOWNERS">
    <OPTION value="R50000-****000 Blacklisted Homeowner" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R300000 Blacklisted Homeowner" >Between **** 000 & R300 000</option>

    <OPTION value="R300000-R500000 Blacklisted Homeowner" >Between R300 000 & R500 000</option>
    <OPTION value="R500000-****0000 Blacklisted Homeowner" >Between R500 000 & R1 000 000</option>
    <OPTION value="****0000-R1500000 Blacklisted Homeowner" >Between R1 000 000 & R1 500 000</option>
    <OPTION value="R1500000-R2000000 Blacklisted Homeowner" >Between R1 500 000 & R2 000 000</option>
    <OPTION value="R2000000-R3000000 Blacklisted Homeowner" >Between R2 000 000 & R3 000 000</option>
    <OPTION value="More than R3000000 Blacklisted Homeowner" >More than R3 000 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="CAR FINANCE">
    <OPTION value="R50000-R80000 Car" >Between R50 000 & R80 000</option>
    <OPTION value="R80000-R150000 Car" >Between R80 000 & R150 000</option>
    <OPTION value="R150000-R300000 Car" >Between R150 000 & R300 000</option>
    <OPTION value="More than R300000 Car" >More than R300 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="BRIDGING FUNDS FOR A BOND">
    </optgroup>
    <optgroup label="(approved but awaiting payment)">
    <OPTION value="R50000-****000 Bridging Finance" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R200000 Bridging Finance" >Between **** 000 & R200 000</option>
    <OPTION value="R200000-R300000 Bridging Finance" >Between R200 000 & R300 000</option>

    <OPTION value="R300000-R400000 Bridging Finance" >Between R300 000 & R400 000</option>
    <OPTION value="R400000-R500000 Bridging Finance" >Between R400 000 & R500 000</option>
    <OPTION value="R500000-R700000 Bridging Finance" >Between R500 000 & R700 000</option>
    <OPTION value="R700000-****0000 Bridging Finance" >Between R700 000 & R1 000 000</option>
    <OPTION value="More than ****0000 Bridging Finance" >More than R1 000 000</option>
    </optgroup>How do I change it? the code on the form seems fixed?Please help!Thanks Jaco
    Don't miss the game for fear of striking out...
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: How to change drop down box HTML code?

    Very simple. Create your select box, with the dimensions and the style you like. Then right click it, and select "HTML".
    Click on Inside Tag and paste the following code in the lower window:


    ><OPTION value="" > - Please Choose - </option>
    <OPTION value="" ></option>
    <optgroup label="PERSONAL LOANS">
    <OPTION value="R750-R2000 Personal Loan" >Between R750 & R2 000</option>
    <OPTION value="R2000-R4000 Personal Loan" >Between R2 000 & R4 000</option>
    <OPTION value="R4000-R8000 Personal Loan" >Between R4 000 & R8 000</option>
    <OPTION value="R8000-****00 Personal Loan" >Between R8 000 & R10 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="1st, 2nd & OTHER BONDS">
    <OPTION value="R50000-****000 Bond" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R200000 Bond" >Between **** 000 & R200 000</option>
    <OPTION value="R200000-R300000 Bond" >Between R200 000 & R300 000</option>
    <OPTION value="R300000-R400000 Bond" >Between R300 000 & R400 000</option>
    <OPTION value="R400000-R500000 Bond" >Between R400 000 & R500 000</option>
    <OPTION value="R500000-R700000 Bond" >Between R500 000 & R700 000</option>
    <OPTION value="R700000-****0000 Bond" >Between R700 000 & R1 000 000</option>
    <OPTION value="****0000-R1500000 Bond" >Between R1 000 000 & R1 500 000</option>
    <OPTION value="R1500000-R2000000 Bond" >Between R1 500 000 & R2 000 000</option>
    <OPTION value="R2000000-R3000000 Bond" >Between R2 000 000 & R3 000 000</option>
    <OPTION value="More than R3000000 Bond" >More than R3 000 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="BLACKLISTED HOMEOWNERS">
    <OPTION value="R50000-****000 Blacklisted Homeowner" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R300000 Blacklisted Homeowner" >Between **** 000 & R300 000</option>
    <OPTION value="R300000-R500000 Blacklisted Homeowner" >Between R300 000 & R500 000</option>
    <OPTION value="R500000-****0000 Blacklisted Homeowner" >Between R500 000 & R1 000 000</option>
    <OPTION value="****0000-R1500000 Blacklisted Homeowner" >Between R1 000 000 & R1 500 000</option>
    <OPTION value="R1500000-R2000000 Blacklisted Homeowner" >Between R1 500 000 & R2 000 000</option>
    <OPTION value="R2000000-R3000000 Blacklisted Homeowner" >Between R2 000 000 & R3 000 000</option>
    <OPTION value="More than R3000000 Blacklisted Homeowner" >More than R3 000 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="CAR FINANCE">
    <OPTION value="R50000-R80000 Car" >Between R50 000 & R80 000</option>
    <OPTION value="R80000-R150000 Car" >Between R80 000 & R150 000</option>
    <OPTION value="R150000-R300000 Car" >Between R150 000 & R300 000</option>
    <OPTION value="More than R300000 Car" >More than R300 000</option>
    </optgroup>
    <OPTION value="" ></option>
    <optgroup label="BRIDGING FUNDS FOR A BOND">
    </optgroup>
    <optgroup label="(approved but awaiting payment)">
    <OPTION value="R50000-****000 Bridging Finance" >Between R50 000 & **** 000</option>
    <OPTION value="****000-R200000 Bridging Finance" >Between **** 000 & R200 000</option>
    <OPTION value="R200000-R300000 Bridging Finance" >Between R200 000 & R300 000</option>
    <OPTION value="R300000-R400000 Bridging Finance" >Between R300 000 & R400 000</option>
    <OPTION value="R400000-R500000 Bridging Finance" >Between R400 000 & R500 000</option>
    <OPTION value="R500000-R700000 Bridging Finance" >Between R500 000 & R700 000</option>
    <OPTION value="R700000-****0000 Bridging Finance" >Between R700 000 & R1 000 000</option>
    <OPTION value="More than ****0000 Bridging Finance" >More than R1 000 000</option>
    </optgroup

    Note how the code starts with > and finishes WITHOUT >
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • mobilejack101
      Staff Sergeant

      • Oct 2007
      • 41

      #3
      Re: How to change drop down box HTML code?

      Thank you naval, that solved my problem!

      Thank you for the excelent support!
      I could not do it without you frendly and supportive help!

      I realy appreciate it!

      Thanks again!

      Jaco
      Don't miss the game for fear of striking out...

      Comment

      Working...
      X