+ name => "streetnumber",
+ type => "text",
+ mandatory => ( grep /streetnumber/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "address",
+ type => "text",
+ mandatory => ( grep /address/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "address2",
+ type => "text",
+ mandatory => ( grep /address2/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "city",
+ type => "text",
+ mandatory => ( grep /city/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "state",
+ type => "text",
+ mandatory => ( grep /state/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "zipcode",
+ type => "text",
+ mandatory => ( grep /zipcode/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "country",
+ type => "text",
+ mandatory => ( grep /country/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "email",
+ type => "text",
+ mandatory => ( grep /email/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "phone",
+ type => "text",
+ mandatory => ( grep /phone/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {
+ name => "mobile",
+ type => "text",
+ mandatory => ( grep /mobile/, @mandatoryFields ) ? 1 : 0,
+ }
+ ,
+ {