mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR: fixed issue where fields were hidden by default
This commit is contained in:
parent
c136fa4cc4
commit
21e708156b
@ -53,7 +53,7 @@
|
||||
<h4>Custom Rules</h4>
|
||||
<select name="$Name.Attr[ShowOnLoad]">
|
||||
<option value="Show" <% if ShowOnLoad %>selected="selected"<% end_if %>><% _t('SHOW', 'Show') %></option>
|
||||
<option value="Hide" <% if ShowOnLoad %><% else %>selected="selected"<% end_if %>><% _t('HIDE', 'Hide') %></option>
|
||||
<option value="Hide" <% if ShowOnLoad %><% else %><% if Title %><% else %>selected="selected"<% end_if %><% end_if %>><% _t('HIDE', 'Hide') %></option>
|
||||
</select>
|
||||
<label class="left">Field On Default</label>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user