Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 6 of 6

Thread: form checking javascript help?

  1. #1
    mc8
    Guest


    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
    Guest


    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


    form checking javascript help?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default Re: form checking javascript help?

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

  4. #4
    mc8
    Guest


    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
    Guest


    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


    form checking javascript help?


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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.

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, 12:20 PM
  3. [Bug] Error on email address checking function
    By daigo75 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-24-2005, 06: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, 01:37 PM

Bookmarks

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
  •