Table of Contents

Class FormDto

Namespace
MegaForm.Sdk
Assembly
MegaForm.Sdk.dll

A form, as exposed to SDK consumers. Decoupled from internal storage models.

public sealed class FormDto
Inheritance
FormDto
Inherited Members

Properties

Description

Form description.

public string? Description { get; set; }

Property Value

string

FormId

Unique form id.

public int FormId { get; set; }

Property Value

int

PortalId

Portal / site id that owns this form.

public int PortalId { get; set; }

Property Value

int

RequireAuth

Whether the form requires an authenticated user to submit.

public bool RequireAuth { get; set; }

Property Value

bool

SchemaJson

Form schema as a JSON string (field definitions, layout).

public string? SchemaJson { get; set; }

Property Value

string

Status

Form status, e.g. "draft" or "published".

public string? Status { get; set; }

Property Value

string

SubmissionCount

Total number of submissions for this form.

public int SubmissionCount { get; set; }

Property Value

int

Title

Form title.

public string? Title { get; set; }

Property Value

string