I’d like to change the default value for certain properties in a pre-existing field’s properties panel. I’m familiar with how to do this with custom form fields, but need guidance on how to change default values that are already set by the Enterprise Forms plugin. For example:
I want to change this default value:
How would I go about setting this default Render Size to a different number?
Hi,
This 40 is defined in the eforms.cnd which is not overridable on that level…
[eforms:textfield] > eforms:field
- eforms:length (long) = "40" autocreated
So you’re looking at customization on Wicket level… either modify com.onehippo.cms7.eforms.cms.properties.panels.TextFieldPropertiesPanel
/ c.o.c.e.cms.fields.TextField
or create a custom field altogether, see Creating custom form fields - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS
Regards, Jeroen