I have created my credit card form. Then when I will click on Place Order button
<div class="actions-toolbar">
<div class="primary">
<button class="action primary checkout"
type="submit"
data-bind="
click: placeOrderClick,
attr: {title: $t('Place Order')}
">
<span data-bind="i18n: 'Place Order'"></span>
</button>
</div>
</div>
placeOrderClick
function which is written inside
/view/frontend/web/js/view/payment/method-renderer/custom-method.js
file is not called.
And also please tell me how to validate credit card form.