Lack of interest Resource Manager, Input Title, Tag_line, needed custom_fields

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Robert9

Well-known member
We have resources with title, tag_line and a needed custom_text_field.
The custom_text_field is shown with a red border, if there is no value inside.
But title and tag_line dont have this behaviour. If i dont fill them, i get an Oops ... missing fields.

It makes sense to behave with all fields in the same way.
How can i bring the "required = required" to title and tag_line, please?

You may want to care for that also in the next version.
 
Last edited:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Ok, i just add it. :)

Code:
<xf:macro name="title" arg-resource="!" arg-prefixes="!">
    <xf:prefixinputrow
        label="{{ phrase('title') }}"
        prefixes="{$prefixes}"
        type="resource"
        prefix-value="{$resource.prefix_id}"
        textbox-value="{$resource.title_}"
        maxlength="{{ max_length($resource, 'title') }}"
        placeholder="{{ phrase('title...') }}"
        help-href="{{ link('resources/categories/prefix-help', $resource) }}"
        required="required"
        />
</xf:macro>
 
Back
Top Bottom