trying to make an ajax form here

  • Posts: 217
  • Thank you received: 1
10 years 5 months ago #158879

Hi guys,

We're close ....

I need to allow all your form checking to work but prevent the form submission.

So I think I need to edit this file: components\com_hikashop\views\user\view.html.php and edit out any line that says
currentForm.submit();

Would you agree?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 5 months ago #158896

Hi,

Yes you can indeed edit the submitform javascript to have your own checks.

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

  • Posts: 217
  • Thank you received: 1
10 years 5 months ago #159116

I did :)

Now I have the following checks running but I wonder is there a check for the additional

hikashopCheckChangeForm('register','hikashop_checkout_form')
hikashopCheckChangeForm('address','hikashop_checkout_form')

How do I check the additional information and credit card is filled in?

/thank you

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
10 years 5 months ago #159123

Hi,

For the additional information it's the same function:
hikashopCheckChangeForm('order','hikashop_checkout_form')

For the payment info, it's the function:
hikashopCheckMethods()

The following user(s) said Thank You: Mat

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

Time to create page: 0.072 seconds
Powered by Kunena Forum