Skip to content

Server side validation fails to run if you put conditions on fieldsets #41

@lars-erik

Description

@lars-erik

Server side validation fails to run if you put conditions on fieldsets.

UmbracoFormsController.ValidateFormState line two needs to do this:

var allValues = form.AllFields.ToDictionary(f => f.Id, f => String.Join(", ", model.FormState[f.Id.ToString()] ?? new object[0]));

The current use of f.Values always yields empty values, since it's a "dead" property.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions