Error message is not displayed on the tablet

For this, you will need a constraint and a constraint_message as discussed in our previous post:

Ensure that your xlsform has a constraint and a constraint_message.