@@ -59,7 +59,7 @@ <h2>The plugin</h2>
59
59
[
60
60
{
61
61
"name" : "textfield",
62
- "label " : "Label for textfield",
62
+ "caption " : "Label for textfield",
63
63
"type" : "text",
64
64
"value" : "Hello world"
65
65
},
@@ -116,19 +116,19 @@ <h3>Login form</h3>
116
116
"elements" :
117
117
[
118
118
{
119
- "type" : "html ",
119
+ "type" : "span ",
120
120
"html" : "< p > You must login</ p > "
121
121
},
122
122
{
123
123
"name" : "username",
124
124
"id" : "txt-username",
125
- "label " : "Username",
125
+ "caption " : "Username",
126
126
"type" : "text",
127
127
"placeholder" : "E.g. user@example.com"
128
128
},
129
129
{
130
130
"name" : "password",
131
- "label " : "Password",
131
+ "caption " : "Password",
132
132
"type" : "password"
133
133
},
134
134
{
@@ -169,11 +169,11 @@ <h3>Registration form</h3>
169
169
[
170
170
{
171
171
"type" : "fieldset",
172
- "label " : "User information",
172
+ "caption " : "User information",
173
173
"elements" : [
174
174
{
175
175
"name" : "email",
176
- "label " : "Email address",
176
+ "caption " : "Email address",
177
177
"type" : "text",
178
178
"placeholder" : "E.g. user@example.com",
179
179
"validate" :
@@ -183,7 +183,7 @@ <h3>Registration form</h3>
183
183
},
184
184
{
185
185
"name" : "password",
186
- "label " : "Password",
186
+ "caption " : "Password",
187
187
"type" : "password",
188
188
"id" : "registration-password",
189
189
"validate" :
@@ -199,7 +199,7 @@ <h3>Registration form</h3>
199
199
},
200
200
{
201
201
"name" : "password-repeat",
202
- "label " : "Repeat password",
202
+ "caption " : "Repeat password",
203
203
"type" : "password",
204
204
"validate" :
205
205
{
@@ -212,7 +212,7 @@ <h3>Registration form</h3>
212
212
},
213
213
{
214
214
"type" : "radiobuttons",
215
- "label " : "Sex",
215
+ "caption " : "Sex",
216
216
"name" : "sex",
217
217
"class" : "labellist",
218
218
"options" :
@@ -224,15 +224,15 @@ <h3>Registration form</h3>
224
224
{
225
225
"type" : "checkboxes",
226
226
"name" : "test",
227
- "label " : "Receive newsletter about",
227
+ "caption " : "Receive newsletter about",
228
228
"class" : "labellist",
229
229
"options" :
230
230
{
231
231
"updates" : "Product updates< br /> ",
232
232
"errors" :
233
233
{
234
234
"value" : "security",
235
- "label " : "Security warnings< br /> ",
235
+ "caption " : "Security warnings< br /> ",
236
236
"checked" : "checked"
237
237
}
238
238
}
@@ -241,37 +241,37 @@ <h3>Registration form</h3>
241
241
},
242
242
{
243
243
"type" : "fieldset",
244
- "label " : "Address information",
244
+ "caption " : "Address information",
245
245
"elements" : [
246
246
{
247
247
"name" : "name",
248
- "label " : "Your name",
248
+ "caption " : "Your name",
249
249
"type" : "text",
250
250
"placeholder" : "E.g. John Doe"
251
251
},
252
252
{
253
253
"name" : "address",
254
- "label " : "Address",
254
+ "caption " : "Address",
255
255
"type" : "text",
256
256
"validate" : { "required" : true }
257
257
},
258
258
{
259
259
"name" : "zip",
260
- "label " : "ZIP code",
260
+ "caption " : "ZIP code",
261
261
"type" : "text",
262
262
"size" : 5,
263
263
"validate" : { "required" : true }
264
264
},
265
265
{
266
266
"name" : "city",
267
- "label " : "City",
267
+ "caption " : "City",
268
268
"type" : "text",
269
269
"validate" : { "required" : true }
270
270
},
271
271
{
272
272
"type" : "select",
273
273
"name" : "continent",
274
- "label " : "Choose a continent",
274
+ "caption " : "Choose a continent",
275
275
"options" :
276
276
{
277
277
"america" : "America",
@@ -336,7 +336,7 @@ <h3>jQuery UI</h3>
336
336
"elements" : [
337
337
{
338
338
"name" : "email",
339
- "label " : "Email address",
339
+ "caption " : "Email address",
340
340
"type" : "text",
341
341
"validate" :
342
342
{
@@ -346,7 +346,7 @@ <h3>jQuery UI</h3>
346
346
},
347
347
{
348
348
"name" : "password",
349
- "label " : "Password",
349
+ "caption " : "Password",
350
350
"type" : "password",
351
351
"id" : "dialog-registration-password",
352
352
"validate" :
@@ -362,7 +362,7 @@ <h3>jQuery UI</h3>
362
362
},
363
363
{
364
364
"name" : "password-repeat",
365
- "label " : "Repeat password",
365
+ "caption " : "Repeat password",
366
366
"type" : "password",
367
367
"validate" :
368
368
{
@@ -407,12 +407,12 @@ <h3>jQuery UI</h3>
407
407
"type" : "slider",
408
408
"values" : [ 10, 80 ],
409
409
"range" : true,
410
- "label " : "Slider",
410
+ "caption " : "Slider",
411
411
"id" : "myslider"
412
412
},
413
413
{
414
414
"name" : "textfield",
415
- "label " : "Autocomplete",
415
+ "caption " : "Autocomplete",
416
416
"type" : "text",
417
417
"placeholder" : "Type 'A' or 'S'",
418
418
"autocomplete" :
@@ -422,12 +422,12 @@ <h3>jQuery UI</h3>
422
422
},
423
423
{
424
424
"name" : "date",
425
- "label " : "Datepicker",
425
+ "caption " : "Datepicker",
426
426
"type" : "text",
427
427
"datepicker" : { "showOn" : "button" }
428
428
},
429
429
{
430
- "label " : "A progressbar",
430
+ "caption " : "A progressbar",
431
431
"type" : "progressbar",
432
432
"value" : 40
433
433
},
@@ -447,7 +447,7 @@ <h3>jQuery UI</h3>
447
447
[
448
448
{
449
449
"name" : "textfield",
450
- "label " : "Just a textfield",
450
+ "caption " : "Just a textfield",
451
451
"type" : "text"
452
452
}
453
453
]
@@ -458,7 +458,7 @@ <h3>jQuery UI</h3>
458
458
"elements" :
459
459
[
460
460
{
461
- "type" : "html ",
461
+ "type" : "span ",
462
462
"html" : "Some html in tab 2"
463
463
},
464
464
{
0 commit comments