forked from science-ation/science-ation
d954d148d6
Notify user if invalid regexp's are entered in fields (there was no feedback as to why it wasnt saving!) Also make the space in the postalcode optional FIXME: still need to change the "incomplete" to "complete" message once everything is saved properly, it stays as incomplete right now until they navigate away and come back.
17 lines
1.1 KiB
SQL
17 lines
1.1 KiB
SQL
INSERT INTO `config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `year` )
|
|
VALUES (
|
|
'judge_personal_fields', 'phonehome,phonecell,phonework,org,address,city,province,lang',
|
|
'Judge Registration', 'multisel',
|
|
'sex=Gender|phonehome=Home Phone|phonework=Work Phone|phonecell=Cell Phone|fax=Fax|org=Organization|birthdate=Birthdate|lang=Preferred Language|address=Address and PostalCode|city=City|province=Province',
|
|
'500', 'Personal Information to ask for on the Judge personal information page (in addition to Name and Email)', '-1');
|
|
|
|
|
|
INSERT INTO `config` ( `var` , `val` , `category` , `type` , `type_values` , `ord` , `description` , `year` )
|
|
VALUES (
|
|
'judge_personal_required', 'phonehome,address,city,province',
|
|
'Judge Registration', 'multisel',
|
|
'sex=Gender|phonehome=Home Phone|phonework=Work Phone|phonecell=Cell Phone|fax=Fax|org=Organization|birthdate=Birthdate|lang=Preferred Language|address=Address and PostalCode|city=City|province=Province',
|
|
'600', 'Required Personal Information on the Judge personal information page (Name and Email is always required)', '-1');
|
|
|
|
|