Skip to Content
Menu
This question has been flagged
3811 Views

I have embedded a form I created with the Form Builder on a third party website. Every time I try to submit data through the form, I am redirected to my database page 404 website page. Any ideas on how to accomplish this? I want to avoid using an iframe.

<form action="https://mydomain.odoo.com/website_form/" method="post"  enctype="multipart/form-data" data-name="Form Builder" data-model_name="crm.lead" data-success_page="/thank-you">

<div class="container">

<div>

<label for="name"> Name</label>

</div>

<div>

<input type="text" name="name" required="1"/>

</div>

<div>

<div>

<label for="email_from">Email</label>

</div>

<div>

<input type="text" name="email_from" required=""/>

</div>

</div>

<div>

<label for="phone">Phone</label>

</div>

<div>

<input type="text" name="phone"/>

</div>

<div>

          <div>

            <button>Send</button>

        <span id="o_website_form_result"></span>

        </div>

</div>

</div>

</form>

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 19
5208
0
Jan 21
986
5
Jul 19
3511
1
May 16
2709
3
Apr 16
8740