So I have inputs that are disabled because they have prefilled values from a service. But when it is posted the field values are empty and nothing registers into the Umbraco Form entries.
@foreach (var field in Model.Fields)
{
var fieldValue = field.GetValue();
}
Disabled input fields are returning empty value
So I have inputs that are disabled because they have prefilled values from a service. But when it is posted the field values are empty and nothing registers into the Umbraco Form entries.
Does someone know how this can be bypassed?
I just removed the disabled attribute for now and disabled the inputs with CSS.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.