* Work on Renegade style pipe codes

* Change age -> birthday
* Minor tweaks and tests
This commit is contained in:
Bryan Ashby
2015-07-20 22:56:48 -06:00
parent 31ff67f32b
commit 81e684cdcc
11 changed files with 58 additions and 28 deletions

View File

@@ -74,14 +74,14 @@ function submitApplication(callingMenu, formData, extraArgs) {
menuViewController.switchFocus(viewIds[0]);
} else {
// Seems legit!
// :TODO: All of this should be a system API, not a mod
// :TODO: All of this should be a system API, not a mod, e.g. createNewUser(...)
var newUser = new user.User();
newUser.username = formData.value.username;
newUser.properties = {
real_name : formData.value.realName,
age : formData.value.age,
birthday : formData.value.birthday,
sex : formData.value.sex,
location : formData.value.location,
affiliation : formData.value.affils,

View File

@@ -110,7 +110,7 @@
"next" : "newUserActive",
"form" : {
"0" : {
"BT12BT13ET1ET10ET2ET3ET4ET5ET6ET7ET8ET9TL11" : {
"BT12BT13ET1ET10ET2ET4ET5ET6ET7ET8ET9ME3TL11" : {
"mci" : {
"ET1" : {
"focus" : true,
@@ -121,14 +121,14 @@
"argName" : "realName",
"maxLength" : 32
},
"ET3" : {
"argName" : "age",
"width" : 3,
"maxLength" : 3
"ME3" : {
"argName" : "birthday",
//"width" : 8,
"maskPattern" : "####/##/##"
},
"ET4" : {
"argName" : "sex",
"width" : 1,
//"width" : 1,
"maxLength" : 1
},
"ET5" : {

Binary file not shown.

View File

@@ -26,8 +26,12 @@
"apply" : {
"ET1" : { "width" : 21 },
"ET2" : { "width" : 21 },
"ET3" : { "width" : 21 },
"ET4" : { "width" : 21 },
//"ET3" : { "width" : 21 },
"ME3" : {
"styleSGR1" : "|00|30|01",
"styleSGR2" : "|00|37"
},
"ET4" : { "width" : 1 },
"ET5" : { "width" : 21 },
"ET6" : { "width" : 21 },
"ET7" : { "width" : 21 },