source: WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml @ 757

Last change on this file since 757 was 710, checked in by joachim, 18 years ago

fixed several bugs in the Apply for PUME Process:
jamb_reg_no had wrong widget
applying with a different PIN a second time led to an error.

the new fields:
appl_email, appl_mobile are set to hidden in laymode create
could not set the fields to required, cause that broke the applyForm.
layout: student_application.xml still has them set to required.

  • Property svn:keywords set to Id
File size: 8.8 KB
RevLine 
[472]1<?xml version="1.0"?>
[479]2<object name="student_application_fe" meta_type="CPS Layout">
[701]3 <property name="layout_create_method">layout_enter_access_code</property>
[472]4 <property name="layout_edit_method"></property>
5 <property name="layout_view_method"></property>
[486]6 <property name="style_prefix">layout_application_</property>
[472]7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
[482]9 <widget name="app_ac_date" meta_type="DateTime Widget">
10  <property name="title">Application Date</property>
[479]11  <property name="fields">
[482]12   <element value="app_ac_date"/>
[479]13  </property>
[482]14  <property name="label">Application Date</property>
15  <property name="label_edit">Application Date</property>
16  <property name="readonly_layout_modes">
17   <element value="edit"/>
18  </property>
19  <property name="hidden_layout_modes">
20   <element value="create"/>
21  </property>
[479]22  <property name="hidden_readonly_layout_modes"/>
[658]23  <property name="view_format">iso8601_medium_easy</property>
[479]24 </widget>
[472]25 <widget name="app_ac_pin" meta_type="Scratchcard Pin Widget">
26  <property name="title">Application PIN</property>
27  <property name="fields">
28   <element value="app_ac_pin"/>
29  </property>
[479]30  <property name="is_required">True</property>
[658]31  <property name="label">Access Code</property>
[492]32  <property name="label_edit">Application PIN</property>
[472]33  <property name="readonly_layout_modes">
[479]34   <element value="edit"/>
[472]35  </property>
[479]36  <property name="hidden_layout_modes"/>
37  <property name="hidden_readonly_layout_modes"/>
[488]38  <property name="prefix">APP</property>
[515]39  <property name="reference">jamb_reg_no</property>
40  </widget>
[479]41 <widget name="entry_mode" meta_type="String Widget">
42  <property name="title">Mode of Entry</property>
[477]43  <property name="fields">
[479]44   <element value="entry_mode"/>
[477]45  </property>
[479]46  <property name="label">Mode of Entry</property>
47  <property name="label_edit">Mode of Entry</property>
[477]48  <property name="readonly_layout_modes">
[479]49   <element value="edit"/>
[477]50  </property>
[479]51  <property name="hidden_layout_modes">
52   <element value="create"/>
53  </property>
[477]54  <property name="hidden_readonly_layout_modes"/>
55 </widget>
[705]56 <widget name="appl_email" meta_type="Email Widget">
57  <property name="title">Email Address</property>
58  <property name="fields">
59   <element value="appl_email"/>
60  </property>
61  <property name="label">Email Address</property>
62  <property name="label_edit">Email Address</property>
[710]63  <property name="is_required">False</property>
[705]64  <property name="readonly_layout_modes">
65  </property>
[710]66  <property name="hidden_layout_modes">create</property>
[705]67  <property name="hidden_readonly_layout_modes"/>
68 </widget>
69 <widget name="appl_mobile" meta_type="String Widget">
70  <property name="title">Mobile Phone No</property>
71  <property name="fields">
72   <element value="appl_mobile"/>
73  </property>
74  <property name="label">Mobile Phone No</property>
[710]75  <property name="is_required">False</property>
[705]76  <property name="label_edit">Mobile Phone No</property>
77  <property name="readonly_layout_modes">
78  </property>
[710]79  <property name="hidden_layout_modes">create</property>
[705]80  <property name="hidden_readonly_layout_modes"/>
[707]81 </widget>
[479]82 <widget name="jamb_first_cos" meta_type="String Widget">
83  <property name="title">JAMB First Choice Course of Study</property>
[477]84  <property name="fields">
[479]85   <element value="jamb_first_cos"/>
[477]86  </property>
[492]87  <property name="label">First Choice Course of Study</property>
88  <property name="label_edit">First Choice Course of Study</property>
[477]89  <property name="readonly_layout_modes">
[479]90   <element value="edit"/>
[477]91  </property>
[479]92  <property name="hidden_layout_modes">
93   <element value="create"/>
94  </property>
[477]95  <property name="hidden_readonly_layout_modes"/>
96 </widget>
[479]97 <widget name="jamb_firstname" meta_type="String Widget">
98  <property name="title">JAMB First Name</property>
[477]99  <property name="fields">
[479]100   <element value="jamb_firstname"/>
[477]101  </property>
[492]102  <property name="label">JAMB Firstname</property>
103  <property name="label_edit">JAMB Firstname</property>
[477]104  <property name="readonly_layout_modes">
[479]105   <element value="edit"/>
[477]106  </property>
[479]107  <property name="hidden_layout_modes">
108   <element value="create"/>
[492]109   <element value="edit"/>
[479]110  </property>
[477]111  <property name="hidden_readonly_layout_modes"/>
112 </widget>
[479]113 <widget name="jamb_lastname" meta_type="String Widget">
114  <property name="title">JAMB Lastname</property>
[477]115  <property name="fields">
[479]116   <element value="jamb_lastname"/>
[477]117  </property>
[658]118  <property name="label">Student's Name</property>
[659]119  <property name="label_edit">Name</property>
[477]120  <property name="readonly_layout_modes">
[479]121   <element value="edit"/>
[477]122  </property>
[479]123  <property name="hidden_layout_modes">
124   <element value="create"/>
125  </property>
[477]126  <property name="hidden_readonly_layout_modes"/>
127 </widget>
[479]128 <widget name="jamb_middlename" meta_type="String Widget">
[492]129  <property name="title">JAMB Middlename</property>
[477]130  <property name="fields">
[479]131   <element value="jamb_middlename"/>
[477]132  </property>
[492]133  <property name="label">JAMB Middlename</property>
[659]134  <property name="label_edit">JAMB Middlename</property>
[477]135  <property name="readonly_layout_modes">
[479]136   <element value="edit"/>
[477]137  </property>
[479]138  <property name="hidden_layout_modes">
139   <element value="create"/>
[492]140   <element value="edit"/>
[479]141  </property>
[477]142  <property name="hidden_readonly_layout_modes"/>
143 </widget>
[710]144 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
[479]145  <property name="title">JAMB Registration Number</property>
[477]146  <property name="fields">
[479]147   <element value="jamb_reg_no"/>
[477]148  </property>
[479]149  <property name="label">JAMB Registration Number</property>
150  <property name="label_edit">JAMB Registration Number</property>
[477]151  <property name="readonly_layout_modes">
[479]152   <element value="edit"/>
[477]153  </property>
154  <property name="hidden_layout_modes"/>
155  <property name="hidden_readonly_layout_modes"/>
[479]156  <property name="display_width">10</property>
157  <property name="size_max">10</property>
[477]158 </widget>
159 <widget name="jamb_second_cos" meta_type="String Widget">
160  <property name="title">JAMB Second Choice Course of Study</property>
161  <property name="fields">
162   <element value="jamb_second_cos"/>
163  </property>
[492]164  <property name="label">Second Choice Course of Study</property>
165  <property name="label_edit">Second Choice Course of Study</property>
[477]166  <property name="readonly_layout_modes">
[479]167   <element value="edit"/>
[477]168  </property>
[479]169  <property name="hidden_layout_modes">
170   <element value="create"/>
171  </property>
[477]172  <property name="hidden_readonly_layout_modes"/>
173 </widget>
[479]174 <widget name="jamb_sex" meta_type="String Widget">
175  <property name="title">JAMB Sex</property>
176  <property name="fields">
177   <element value="jamb_sex"/>
178  </property>
[492]179  <property name="label">Sex</property>
180  <property name="label_edit">Sex</property>
[479]181  <property name="readonly_layout_modes">
182   <element value="edit"/>
183  </property>
184  <property name="hidden_layout_modes">
185   <element value="create"/>
186  </property>
187  <property name="hidden_readonly_layout_modes"/>
188 </widget>
[658]189 <widget name="jamb_state" meta_type="String Widget">
190  <property name="title">JAMB State</property>
191  <property name="fields">
192   <element value="jamb_state"/>
193  </property>
194  <property name="label">State of Origin</property>
195  <property name="label_edit">JAMB State</property>
196  <property name="readonly_layout_modes">
[666]197   <element value="edit"/>
[658]198  </property>
[659]199  <property name="hidden_layout_modes">
200   <element value="create"/>
201  </property>
[658]202  <property name="hidden_readonly_layout_modes"/>
203 </widget>
204 <widget name="passport" meta_type="Photo Widget">
[472]205  <property name="title">Passport Picture</property>
206  <property name="fields">
207   <element value="passport"/>
208  </property>
[479]209  <property name="is_required">True</property>
[472]210  <property name="label">Passport Picture</property>
211  <property name="label_edit">Passport Picture</property>
[479]212  <property
[492]213     name="help">Upload passport photograph with red background.</property>
[477]214  <property name="readonly_layout_modes"/>
[486]215  <property name="hidden_layout_modes">
216   <element value="create"/>
217  </property>
[472]218  <property name="hidden_readonly_layout_modes"/>
219  <property name="size_max">204800</property>
[479]220  <property name="display_external_editor">False</property>
[658]221  <property name="display_width">150</property>
222  <property name="display_height">200</property>
[704]223  <property name="allow_resize">True</property>
[472]224 </widget>
225 <table>
226  <row>
[479]227   <cell name="jamb_reg_no" ncols="3"/>
[472]228  </row>
229  <row>
[488]230   <cell name="app_ac_pin" ncols="3"/>
[472]231  </row>
232  <row>
[482]233   <cell name="app_ac_date" ncols="3"/>
234  </row>
235  <row>
[707]236   <cell name="appl_email" ncols="3"/>
237  </row>
238  <row>
239   <cell name="appl_mobile" ncols="3"/>
240  </row>
241  <row>
[479]242   <cell name="jamb_lastname" ncols="3"/>
[477]243  </row>
244  <row>
[479]245   <cell name="jamb_sex" ncols="3"/>
[477]246  </row>
247  <row>
[658]248   <cell name="entry_mode" ncols="3"/>
249  </row>
250  <row>
251   <cell name="jamb_state" ncols="3"/>
252  </row>
253  <row>
[479]254   <cell name="jamb_first_cos" ncols="3"/>
[477]255  </row>
256  <row>
[479]257   <cell name="jamb_second_cos" ncols="3"/>
[477]258  </row>
259  <row>
[479]260   <cell name="passport" ncols="3"/>
[472]261  </row>
262 </table>
263</object>
Note: See TracBrowser for help on using the repository browser.