Skip to main content

trying to make an ajax form here

More
12 years 3 months ago #158879 by Mat
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.

More
12 years 3 months ago #158896 by Xavier
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.

More
12 years 3 months ago #159116 by Mat
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.

More
12 years 3 months ago #159123 by nicolas
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.156 seconds
Powered by Kunena Forum