Skip to Content
Menu
This question has been flagged
1 Reply
2565 Views


The module "HTML Form Creator" By Sythil is described as a odoo web form tool, both for 9 and for 8 version of odoo
https://www.odoo.com/apps/modules/8.0/entity_html_form/


The tutorial on line of version 9 shows how the "drag and drop" tool, in the web interface of odooautomatilically opens the filed selection.
Great! 

But I'm working with version 8. 
In odoo version 8.0 the module "HTML Form Creator" by Sythil creates an xml code.
Like this:

[code]
<section id="ehtml_form" class="oe_snippet_body ehtml_form container"> <form method="POST" action="http://localhost:8069/form/myinsert" enctype="multipart/form-data"> <h1>Giudizio_su_sito</h1> <div id="ehtml_fields" class="oe_structure"> <section class="oe_snippet_body ehtml_form_field"> <div class="form-group"> <label class="control-label" for="name">Account/Contract Name</label> <input type="text" class="form-control" id="name" name="name" required="required"/> </div> </section>
[/code]

The form is made using the fields of a select module (ad account.analytics.account for istance

And the user has to embed into the web page. 

[quote]
Instructions are
1. Go to Settings->HTML Embed Forms->Create Forms
2. Select the model and the fields in the form
3. Click "Make Embed Code" button and copy and paste the code into your website
[/quote]

Ok, I've got the code, but where shoud I embed it?
It is not possible directily in the web page: the code is not interpreted. 

Avatar
Discard
Author Best Answer


As already said, in this tutorial, 

https://www.odoo.com/forum/help-1/question/how-to-do-custom-forms-in-v8-website-62623

there's almost everything I was looking for. 



When the guide of The module "HTML Form Creator" By Sythil states

"3. Click "Make Embed Code" button and copy and paste the code into your website"
it means

in the webpage of odoo you can find (in up and right portion) "customize" > "html editor".

Inside the editor (sublime text editor?) you can paste the code made with the module "HTML Form Creator" By Sythil.


In this moment the send button doesn't work for me, but at least I can see the form and use the  "HTML Form Creator"  ad framework for the form creation. 

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 22
1781
0
Dec 19
5149
0
Sep 15
2973
4
May 15
3017
0
Aug 23
788