How to overwrite the default contact us form by using a form created by xform?

You will have to do the following steps if you want to overwrite the default contact form by a form created by xform.

  1. Please navigate to X-Form and click the Cog icon of the form you want to overwrite with.
  2. Now click the ShortCode tab and copy the iframe URL of the form
  3. Now navigates into Extension-> Modules. Install the HTML Content module if it is not yet installed. Now click the Edit button of the HTML Content module
  4. On the Editor, please CodeView icon
  5. Now add the following code i.e a frame and some CSS so it can make hidden default form. Please adjust the height of the iframe accordingly. Also, don’t forget to update the form URL that you copied earlier. Now click the Save button to save the HTML content module.
  6. Now navigate to Design -> Layout, Now edit Contact Layout. Finally, add the HTML content module to the Content bottom position.
#information-contact form.form-horizontal {
    display: none;
<iframe frameborder="0" height="700" width="100%" src=""></iframe>

That’s all.

Leave a Reply