Steps to reproduce
1) follow https://ea.forgerock.com/docs/idm/samples-guide/index.html#chap-provisioning-with-workflow
2) as user1 submit a user with phoneNumer like "foo" => this is accepted, no check here
3) as manager1, when trying to accept the user, we get an non-explicit error and in the console we see:
=> I suppose we should check the format of PhoneNumber when it is submited by user1
Note that other fields are checked for wrong format.
For example email with wrong format would show "The Email field must be a valid email."