Non numerical prices causing issues

Issue #18 resolved
J. Chuck Mailen created an issue

If a user enters a price with a currency symbol, a comma or a other non-numeric symbol it causes a variety of issue. Suggest using combination of JS and PHP to prevent the saving of non-numeric information and to provide the user with an alert letting them know they need to enter prices as a number.

Comments (1)

  1. J. Chuck Mailen reporter
    • Added ability to hide vehicle condition on default templates
    • Added unique type based CSS classes on the vehicle fields and labels
    • Added constant CD_NO_SESSION - if defined session_start() won't be called even if no session_id has been generated
    • Added constant CD_NO_AFFILIATES - if defined the sales affiliate code and car_demon_subdomains will be disabled
    • Added constants CD_PRICE_START, CD_PRICE_STOP, CD_PRICE_gap to control price drop down options available in search form
    • Added constants CD_MILEAGE_START, CD_MILEAGE_STOP, CD_MILEAGE_gap to control mileage drop down options available in search form
    • Added filter cd_search_price_filter for filtering all price search options available in the search form
    • Added filter cd_search_mileage_filter for filtering all mileage search options available in the search form
    • Fixes issue #20
    • Added filter cd_price_format for filtering price format in search form
    • Added filter cd_mileage_format for filtering mileage format in search form
    • Fixes issue #21
    • Added javascript to prevent users from entering non-numeric prices
    • Added Constant CD_NON_NUMERIC_PRICE to disable javascript to prevent non numeric prices from being entered
    • Fixes issue #18
    • Added confirmation to reset button to make sure user is aware it will reset everything
    • Fixes issue #7

    → <<cset 30518fc058ee>>

  2. Log in to comment