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 value totrueto enable thetag to be displayed onthe portal. The default value is false.
isUserScripts
Boolean
N
Set the value tofalseto disable the client script execution. 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
})();