Class SubmitResult
Result of submitting form data through ISubmissionApi.SubmitAsync. Mirrors the
server submission pipeline's outcome. On a validation failure Success is
false and ValidationErrors carries the per-field messages (no row is saved).
public sealed class SubmitResult
- Inheritance
-
SubmitResult
- Inherited Members
Properties
ErrorMessage
Human-readable error message when Success is false, otherwise null.
public string? ErrorMessage { get; set; }
Property Value
IsSpam
True when the submission was flagged as spam by the anti-spam check.
public bool IsSpam { get; set; }
Property Value
RedirectUrl
Optional redirect URL configured on the form for after a successful submit.
public string? RedirectUrl { get; set; }
Property Value
SpamScore
Spam score assigned by the anti-spam check (higher = more spammy).
public double SpamScore { get; set; }
Property Value
SubmissionId
Id of the newly created submission (0 when the submit failed).
public int SubmissionId { get; set; }
Property Value
Success
True when the submission was accepted and persisted.
public bool Success { get; set; }
Property Value
SuccessMessage
Optional success message configured on the form (post-submit experience).
public string? SuccessMessage { get; set; }
Property Value
ValidationErrors
Per-field validation errors (field key → message) when validation failed; null on success.
public Dictionary<string, string>? ValidationErrors { get; set; }