If your using server validation for the text field select
Entry Length it will show a box with a min lenght set to 0 and a max length set to 0 just change the 0 on the min lenght to 6 leave the max on 0 wich mins no limitations on that one
For the email one its a bit more tricky, you need to add 2 fields for the email example email1 and email2
now you go tot your server validation options and select your second field email2 and add the option Like entry, it will open a box with the lightbulb click on it and look for your email1 field there clic ok and then add your show msg if validations and your set