Anonymous | Login | Signup for a new account | 2024-09-16 10:57 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Dependency Graph | [ View Issue ] [ Relation Graph ] [ Vertical ] | |||
|
||||
|
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. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |