Using Record templates is the really powerful way to customize database record HTML. You can insert any CSS or HTML to create just any page you need
The main idea - using HTML templates you can change the page of the database record widget. It will be easier to use the record page by your website users.
You can use this feature for every project. Modify the standard database record widget as you need.
First you need to enable Redirect to record widget page.
You can do this in the Form widget page, Settings tab:
To start using templates go to the Table widget menu and open Record tab.
Click on 'Create record template' and create your own template in WYSIWYG editor.
To get your record values from database click on How to insert record data link and use HTML field names, which you can get from the dropdown below.
You can also edit the template on the HTML code level.
To do this, click on the Source button in the editor.
- Click on the Print icon:
- Choose "Save as PDF" from Destination dropdown list and click on "Save" button:
Using URL field type, you can notice that "If URL points to image, show it in table" option is enabled by default:
In the Records menu and in the Table Widget, the image will be displayed. But in the Record Widget it will be url only:
To display the image you need to:
1. Open Record's widget templatet editor and open the Source in the toolbar.
2. Find the Url field and add the img src tag before the html field name, as it shown in the screenshot below:
We hope this functionality will help in the development of your online business.
Using Formula field you can create a link to your Record Widget.
Also, you can select the record template. This way you can create the several formula fields, by click on each the different record template will be applied to the record view.
Read more about "Link to Record View" option by this link.