| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Checkout Page Submit Trigger | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Where do I find what trigger the submit form on checkout page ? I saw that when i change some input value on the checkout, the form is submited. What .js action put this behavior on my form elements ?? I look on checkout\steps\shipping\parts\address.js but i don't understand how does it works !?
__________________
Soptareanu Alex |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Alex,
Quote:
You found the right JS file. CheckoutAddressView.prototype.saveForm method is what you are looking for. See, there are calls of jQuery(form).submit() method. They actually submit the form. I am not sure how helpful my answer is, so please let me know what you are trying to add/change, so I could better understand your task and suggest more meaningful actions. Thank you. Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() It works ! Your solution solved my task.
__________________
Soptareanu Alex |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|