I am trying to create a create a page in block but I'm trying to add a custom contact form. I can view it in frontend but it wouldn't work its not doing anything when I click submit.

is there anyone who could help me out or any suggestions

Is it good to create a new module for custom form?

How I'm calling the .phtml in CMS block 

    {{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="my_module::form.phtml"}}
    

but not sure why `action="<?= $block->escapeUrl($block->getFormAction()) ?>` isn't working in .phtml


[![enter image description here][1]][1]


[![enter image description here][2]][2]


  [1]: https://i.sstatic.net/qdHkB.png
  [2]: https://i.sstatic.net/mfZIK.png