[Skip to main content](#vessel-content)

#   trying to make an ajax form here

##

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 5 months ago [\#158879](#158879) by [Mat](/forum/user/4216-mat "View Mat's Profile")  *[trying to make an ajax form here](/forum/25-install-update/868766-trying-to-make-an-ajax-form-here#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&#92;com&#95;hikashop&#92;views&#92;user&#92;view.html.php and edit out any line that says currentForm.submit();  Would you agree?")* was created by *[Mat](/forum/user/4216-mat "View Mat's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODc2Ni10cnlpbmctdG8tbWFrZS1hbi1hamF4LWZvcm0taGVyZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#158896](#158896) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[trying to make an ajax form here](/forum/25-install-update/868766-trying-to-make-an-ajax-form-here#158896 "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&#92;com&#95;hikashop&#92;views&#92;user&#92;view.html.php and edit out any line that says currentForm.submit();  Would you agree?")*

Hi,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODc2Ni10cnlpbmctdG8tbWFrZS1hbi1hamF4LWZvcm0taGVyZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mat](/forum/user/4216-mat "View Mat's Profile")**
- [![Mat's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4216-mat "View Mat's Profile") Topic Author
- [ Offline](/forum/user/4216-mat)

Less More

- Posts: 217
- Thank you received: 1
-
-

12 years 5 months ago [\#159116](#159116) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[trying to make an ajax form here](/forum/25-install-update/868766-trying-to-make-an-ajax-form-here#159116 "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&#92;com&#95;hikashop&#92;views&#92;user&#92;view.html.php and edit out any line that says currentForm.submit();  Would you agree?")*

I did ![:)](/media/kunena/emoticons/3.png ":)")

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODc2Ni10cnlpbmctdG8tbWFrZS1hbi1hamF4LWZvcm0taGVyZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 5 months ago [\#159123](#159123) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[trying to make an ajax form here](/forum/25-install-update/868766-trying-to-make-an-ajax-form-here#159123 "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&#92;com&#95;hikashop&#92;views&#92;user&#92;view.html.php and edit out any line that says currentForm.submit();  Would you agree?")*

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](/forum/user/4216-mat "View Mat's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2ODc2Ni10cnlpbmctdG8tbWFrZS1hbi1hamF4LWZvcm0taGVyZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
