Use the <remform> tag to add a form consisting of model attributes to the portal.
Placing more than one widget instance with the <remform> tag on a page is not recommended. Unlike the <rem> tag, <remform> is used only for creating a single record at a time.
Available attributes:
Attribute
Type
Mandatory
Description
isPortal
Boolean
N
Set the attribute totrue togive the tag portal behavior and rendering.
isUserScripts
Boolean
N
To disable the client scripts execution, set thefalsevalue. The default value istrue.
(() => {
window.s_widget_custom = window.s_widget_custom || {};
const modelId = new URLSearchParams(window.location.search).get('model_id');
s_widget.setFieldValue('model_id', modelId); // Provide form of new record with model id
})();