This post describes how to place the code of the widget form on a website created with Wix.
How to place the search form
1. Choose the brand and the program which search form you want to use on your website.
Remember, not all programs support widgets and have search forms. Learn more in the About Widgets article.
2. Choose and customize the search form widget.
3. Log into Wix.com and open the website editor.
4. In the left menu click Add Elements and select Embed Code.
5. Click Embed HTML.
6. HTML Settings pop-up will be launched. To add the code of the widget select Code in the "What do you want to add?" field.
4. Copy the code of the widget from the program’s page at Travelpayouts and paste it In the Add your code here using the following template:
<html>
<body>
WIDGET CODE
</body>
</html>
5. As a result, the form will look somewhat like this:
Click Update. The search form will be displayed on the page of your site.
How to place the calendar widget
The calendar widget is embedded similarly to the search form. The only difference is in the code itself, which is placed in the HTML settings. The code looks like this:
<!DOCTYPE html>
<html>
<head></head>
<body>
WIDGET CODE
</body>
</html>
As a result, the HTML settings form can look like this:
Click Update. The search form will be displayed on the page of your site.