Results 1 to 5 of 5

Thread: Removing Additional Categorys Problem

  1. #1
    Join Date
    May 2007
    Posts
    30

    Default Removing Additional Categorys Problem

    Hi,

    I want to remove the Additional Category 1 & 2 from the add page, But keep getting error.

    "document.forms.add_frm.add_cat1.options is null or not a object"

    I am using the Ajax dropdown setup

    Does anyone know a work around.

    Cheers
    Andrew

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Where are you trying to remove it from by getting that error?

    add_form.html remove the following lines

    <tr class="tbl_normal">
    <td>Additional Category 1</td>
    <td><div id="add_cat1_div"><%$add_cat1%></div></td>
    </tr>
    <tr class="tbl_normal">
    <td>Additional Category 2</td>
    <td><div id="add_cat2_div"><%$add_cat2%></div></td>
    </tr>

  3. #3
    Join Date
    May 2007
    Posts
    30

    Default

    Hi,

    Tried that and still gives errors.

    Check add page

    http://www.leedsautos.com/add.php

    Not sure what is causing it.

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    What is this?

    <select name="cat" onchange="FetchPricing(); FetchSubCategory(this.options[this.selectedIndex].value, 'cat', 'cat_div'); return false">

    That is probably what is causing your issue.

  5. #5
    Join Date
    May 2007
    Posts
    30

    Default

    Tried removing the field in the add.php, Still giving errors.

    Andrew

Similar Threads

  1. V5 - Additional Pages
    By alfo in forum v5.x
    Replies: 2
    Last Post: 01-30-2006, 09:23 PM
  2. additional categories
    By landuyt in forum v5.x
    Replies: 1
    Last Post: 12-13-2005, 10:32 PM
  3. Additional Counter
    By bestfx in forum v3.2
    Replies: 0
    Last Post: 01-19-2004, 09:15 PM
  4. Replies: 0
    Last Post: 07-02-2002, 02:05 PM

Posting Permissions

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