Adding a Value="test" to a form field?

I want to add a default value to a form field marked as text. Does anyone know how to do this other than stripping it out and adding it as an embedded form? I looked at Custom Attributes but value is a protected name.

Thanks in advance.

Chris

This is a common need so I’ve added a “dynamic attributes” feature to SA5.
It will convert any x- prefixed custom attributes to the non-prefixed version on page load.

x-value = test would be loaded and set your default input value.

2 Likes