Contact Form in Page

I am looking to use a version of the Contact Us page form to use a a sign up form in another page. I have tried including the page/form code in the page but the code does does execute i.e the form does not get sent.

Has anyone done this in a simple way? I have tried most of the normal tricks… DIV etc but no luck.

Cheers, Simon

Use Web Forms

https://frappe.github.io/erpnext/user/manual/en/website/web-form.html

I don’t see how I can include a web form in another page. Do you have a solution to that question?

Web forms were meant to be separate page. You can also write your own custom API

I found this code (which works) on the Frappe GitHub page. It allows for a web form to be included in another page. It may be useful to others.

The page link is Adding Custom Form to Website · frappe/erpnext Wiki · GitHub

Best, Simon

2 Likes