Skip to main content
Tweeted twitter.com/StackMagento/status/1139820103158005761
added 89 characters in body
Source Link

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

enter image description here

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

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

enter image description here

added 91 characters in body
Source Link

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

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

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

deleted 2 characters in body
Source Link

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

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

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

added 1 character in body
Source Link
Aasim Goriya
  • 5.5k
  • 2
  • 28
  • 53
Loading
added 14 characters in body
Source Link
Ronak Rathod
  • 6.5k
  • 18
  • 43
Loading
Source Link
Loading