osCmax v2.5 User Manual
Results 1 to 6 of 6

form checking javascript help?

This is a discussion on form checking javascript help? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi - Trying to get the UK postcode validation contribution working ... osCommerce: UK Postcode Validation I've modified form_check.js.php and ...

      
  1. #1
    mc8
    mc8 is offline
    New Member
    Join Date
    Mar 2007
    Posts
    11
    Rep Power
    0


    Default form checking javascript help?

    Hi -

    Trying to get the UK postcode validation contribution working ... osCommerce: UK Postcode Validation

    I've modified form_check.js.php and uploaded, but those edits didn't kick in. Then looking at create_account and address_book_process, it appears this script is not used... am I missing something? Any suggestions?
    thanks

  2. #2
    mc8
    mc8 is offline
    New Member
    Join Date
    Mar 2007
    Posts
    11
    Rep Power
    0


    Default Re: form checking javascript help?

    yes, clearly I am missing something (and now I'm talking to myself...not a good sign) -

    In testing to see what was going on, I deleted form_check.js.php from /includes - and I was still able to create an account! So it is not being called from create_account.php - shouldn't it be called?? Can anyone explain?

    Michael, you out there?

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: form checking javascript help?

    You probably have page caching turned on. No changes will take effect until you clear the cache.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    mc8
    mc8 is offline
    New Member
    Join Date
    Mar 2007
    Posts
    11
    Rep Power
    0


    Default Re: form checking javascript help?

    Thanks for the reply - I checked the cache settings and all are off. Any other ideas?

  5. #5
    mc8
    mc8 is offline
    New Member
    Join Date
    Mar 2007
    Posts
    11
    Rep Power
    0


    Default Re: form checking javascript help?

    Figured this one out...
    osCMax uses a further directory for javascripts - catalog/includes/javascript/

    form_check.js.php still exists in the /includes/ directory even though it is not used (I've renamed it there and nothing has failed so far for not being able to find it). So all I had to do was apply the updates to the correct script and no probs...

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: form checking javascript help?

    Oh, yes, I missed that. I assumed you were working in the includes/javascript directory. Sometimes I see what I want to see... sorry.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. javascript
    By yaoi in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 03-27-2007, 11:41 AM
  2. Javascript & BTS
    By gamerigs in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 11-06-2005, 11:20 AM
  3. [Bug] Error on email address checking function
    By daigo75 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-24-2005, 05:48 AM
  4. Checking Quantity at checkout....
    By ReginaStelling in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 08-06-2004, 06:13 AM
  5. Loggining in and checking out
    By innovations in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 10-31-2003, 12:37 PM

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
  •