# before_clientadded
Client posted sign-up form, but he is not registered yet/ This event is called BEFORE HostBill validates/sanitizes input
# Hook parameter
An array
is passed to hook containing following keys/values (note: if you have custom registration fields they may differ):
Key | Type | Description |
---|---|---|
type | string | Personal or Organization account |
companyname | string | Supplied company name |
firstname | string | Client first name |
lastname | string | Client last name |
password | string | Password |
password2 | string | Password 2 |
email | string | |
address1 | string | Address 1 |
address2 | string | Address 2 |
city | string | City |
state | string | State |
postcode | string | Postal code |
country | string | Country |
phonenumber | string | Phone number |