In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000477 [In-Portal CMS] Admin Interfaces bug report always 2009-12-23 02:46 2009-12-23 02:46
Reporter alex View Status public  
Assigned To
Priority normal Resolution open  
Status active      
Summary 0000477: Required field mark (*) is displayed for read-only fields
Description In case if field is required, that red asterisk (*) is displayed after field name to indicate that it's mandatory. This makes sense, when user can enter value in field, but doesn't make sense, when field is read-only, e.g. when "inp_label" block is used instead of "inp_edit_box" block.

I propose we add new parameter to all form blocks named "required", that could have 3 values:

    * empty - automatic detection of asterisk presence;
    * 1 - always display red asterisk no matter is field required or not
    * 0 - always hide red asterisk no matter is field required or not
Additional Information About testing this could be very simple to test, because there are only few cases:

    * field is initially required;
    * field is made required via OnBeforeItemUpdate/OnBeforeItemCreate event later;
    * field is not required.

For each mentioned case there are only 3 parameter (that new one) values:

    * show asterisk based on actual required setting;
    * always show asterisk;
    * always hide asterisk.


This makes 9 test cases.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker