Cs-Cart 4.x What To Use In Place Of Fn_Form_Post_Form_Name

Hi guys,



This call back function fn_form_post_form_name[size=4] for forms used to work well in combination to cm-ajax in 3.x[/size]

[size=4]It no longers works in 4.x, how to implement callback in 4.[/size]



[size=4]If I am not clear enough go through this page [/size][size=4]http://docs.cs-cart.com/microformats-list[/size]

[size=4]section: form processing[/size]



[size=4]Thanks in advance,[/size]

[size=4]Shikhar[/size]

Got the reply from Cs-cart support, this is what you use now in 4.x



$.ceEvent('on', 'ce.formpost_my_form_id', function(form, clicked_elm) {
alert('Form submit');
return false;
});

Hi @Shikhar,

You can check also [url=“Javascript Hooks Used In Cs-Cart 4.x - Developers' Corner - CS-Cart Community Forums”]Javascript Hooks Used In Cs-Cart 4.x - Developers' Corner - CS-Cart Community Forums



Regards,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Thank you so much, very helpful