document.getElementById("dnn_ctr2485_Feedback_valSubject2"); dnn_ctr2485_Feedback_valSubject2.controltovalidate = "dnn_ctr2485_Feedback_txtSubject2"; dnn_ctr2485_Feedback_valSubject2.errormessage = "Subject is required."; dnn_ctr2485_Feedback_valSubject2.display = "Dynamic"; dnn_ctr2485_Feedback_valSubject2.validationGroup = "FeedbackForm_2485"; dnn_ctr2485_Feedback_valSubject2.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; dnn_ctr2485_Feedback_valSubject2.initialvalue = ""; var dnn_ctr2485_Feedback_valMessage = document.all ? document.all["dnn_ctr2485_Feedback_valMessage"] : document.getElementById("dnn_ctr2485_Feedback_valMessage"); dnn_ctr2485_Feedback_valMessage.controltovalidate = "dnn_ctr2485_Feedback_txtBody"; dnn_ctr2485_Feedback_valMessage.errormessage = "You must enter a message."; dnn_ctr2485_Feedback_valMessage.display = "Dynamic"; dnn_ctr2485_Feedback_valMessage.validationGroup = "FeedbackForm_2485"; dnn_ctr2485_Feedback_valMessage.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid"; dnn_ctr2485_Feedback_valMessage.initialvalue = ""; var dnn_ctr2485_Feedback_valMessageLength = document.all ? document.all["dnn_ctr2485_Feedback_valMessageLength"] : document.getElementById("dnn_ctr2485_Feedback_valMessageLength"); dnn_ctr2485_Feedback_valMessageLength.controltovalidate = "dnn_ctr2485_Feedback_txtBody"; dnn_ctr2485_Feedback_valMessageLength.errormessage = "Max message length exceeded"; dnn_ctr2485_Feedback_valMessageLength.display = "Dynamic"; dnn_ctr2485_Feedback_valMessageLength.validationGroup = "FeedbackForm_2485"; dnn_ctr2485_Feedback_valMessageLength.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid"; dnn_ctr2485_Feedback_valMessageLength.validationexpression = "^[\\s\\S]{0,1000}$"; //]]>