Kerillos Kamel
17 posts
Registered:
24 Jun 2022
06 Sep 2022
in reply to
Ian Pekunsal
Link to this post
Hi Ugur,
thanks for your quick response.
I have added that line 'event.preventdefault' and I added the TPC Submit button widget instead but I can't find away to trigger this button to submit the form from another button using JS see snippet :
$("#seai_submitbutton").on('click', function () {
debugger;
tpc.forms[0].TpcSubmitButtonController_0.add_click();
$('#C065_Col00 > div > TpcSubmitButtonController_0').trigger("click");
});
although this was working on the submit button widget
Last modified on 06 Sep 2022 15:09 by Kerillos Kamel