[MGNLFORM-241] Default text for non-mandatory form title should not be hard-coded in the template script Created: 09/Sep/14 Updated: 02/Dec/14 Resolved: 25/Nov/14 |
|
| Status: | Closed |
| Project: | Magnolia Form Module |
| Component/s: | field |
| Affects Version/s: | 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7 |
| Fix Version/s: | 2.2.9 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Lars Fischer | Assignee: | Christoph Meier |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | maintenance, quickwin, support, uzh | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Release notes required: |
Yes
|
||||
| Date of First Response: | |||||
| Description |
|
The "title" attribute of a form is always displayed though it is not mandatory in the dialog. It should be possible to omit the title for a form. See form.ftl [#assign title = content.formTitle!page.title!page.@name] |
| Comments |
| Comment by Christoph Meier [ 25/Nov/14 ] |
|
First i wanted to propose not to change the logic which renders the title of the form but adding a checkbox "omit title if empty" on the form-dialog. However, the current description of the formTitle field tells: >> If empty title won't be shown << A title is only rendered if the field /modules/form/dialogs/form/form/tabs/tabMain/fields/formTitle has a value; otherwise nothing is displayed. |
| Comment by Christoph Meier [ 25/Nov/14 ] |
|
The fix is on branch " |