Search the Community
Showing results for tags 'default value'.
Found 4 results
How can I specify default value for certain input field?
PawelGIX posted a topic in General SupportCan I specify default value for certain input field? For example: <h1>Title</h1><h2>subtitle</h2><p>article content</p>. in body InputField. Maybe custom module? Some hints?
Page Reference Default Value
Robin S posted a topic in Modules/PluginsPage Reference Default Value Most ProcessWire core inputfield types that can be used with a Page Reference field support a "Default value" setting. This module extends support for default values to the following core inputfield types: Page List Select Page List Select Multiple Page Autocomplete (single and multiple) Seeing as these inputfield types only support the selection of pages a Page List Select / Page List Select Multiple is used for defining the default value instead of the Text / Textarea field used by the core for other inputfield types. This makes defining a default value a bit more user-friendly. Note that as per the core "Default value" setting, the Page Reference field must be set to "required" in order for the default value to be used. Screenshot https://github.com/Toutouwai/PageReferenceDefaultValue https://modules.processwire.com/modules/page-reference-default-value/
Default Value for Fields (in Admin)
SwimToWin posted a topic in General SupportIs there a way to set a default value in the editing interface for a Field? For instance, for a Text, Integer or Page field used in a Template. For example, lets say I have a template called Songs with the field Length. Length has default value 3:00 (minutes). When I create a new Song Page, the Length field should appear pre-populated in the editing interface with the "3:00" default value.
Default value for radio button (page field)
lenoir posted a topic in Getting StartedHey there, I have a page field in the form of radio buttons, where the user can select the importance of the article: Very important, important, normal. I would like to make the default value "normal", but can't think of any way of doing it. Any help? Thanks