Validation not working properly

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #188554

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5
-- Browser(s) name and version -- : Firefox 35.0.1

Hi,

We are using Hikashop Business version 2.3.5, for registering in our website we have used hikashop's registration form. While we were trying to test the form without entering any data, it seems to not validate anything but verify password field.

I am attaching a screenshot. I have clicked on Register button below, it marks "Verify Password" field with gray border and shows an alert, but most fields are mandatory.

Please help!

Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #188580

Hi,

Yes ; the system find one missing field and it just stop on it and generate the alert box.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #188659

But we haven't entered any fields, there are many mandatory fields, you see that in the screenshot?

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 7 months ago #188705

Hi,

Sorry but I don't understand what you're talking about.
Please read my previous message which explain how HikaShop javascript validation system is working.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
10 years 7 months ago #188860

I have explained clearly that there are many mandatory fields but it shows error message that only "Verify Password" field is missing. When we enter that field it goes in reverse order individually that Password field missing, then Username, then Name and so on. I don't want your validation at all, just tell me how can I use my own validation overriding hikashop's.

Please Log in or Create an account to join the conversation.

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 7 months ago #189066

Hi,

If you want to use your own validation, the easiest is to modify the function hikashopCheckChangeForm in the file media/com_hikashop/js/hikashop.js

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum