added ValidatePrompt and MaxValidationAttempts setting