Anonymous | Login | Signup for a new account | 2024-03-28 15:06 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0001149 | [In-Portal CMS] Front End | bug report | always | 2011-10-19 03:09 | 2012-07-25 05:33 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0001149: Tag FieldModifier doesn't work with multilingual fields | ||||
Description |
Tag FieldModifier can be used to make fields on form required from template (not from PHP). This can be very useful if you don't know PHP, but not very secure, since removing hidden fields, created by FieldModifier tag (from form submit) will also make fields not required. FieldModifier tag should be placed within hidden field's name before actual field (to be required) is shown, for example: <input type="hidden" name="<inp2:l_FieldModifier field='cust_LinkAddress' type='required' value='1'/>" value="1"/> <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="cust_LinkAddress" title="lu_fld_LinkAddress"/> But this tag isn't working at all, when you try to make multilingual custom field required (don't show "*" mark near field name & don't check if it was filled on submit). For example this has no effect: <input type="hidden" name="<inp2:l_FieldModifier field='cust_MLField' type='required' value='1'/>" value="1"/> <inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="cust_MLField" title="lu_fld_MLField"/> |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |