Struggling to validate a phone number field based upon another field (state). Instructions I am to follow are below. The phone number field includes the area code
For a State field value of VA, the first three digits of the Phone field value must equal 703 or 804. If the Phone field value is invalid, display an appropriate message, cancel the event, undo the change, and move the focus to the Phone field.
For a State field value of VA, the first three digits of the Phone field value must equal 703 or 804. If the Phone field value is invalid, display an appropriate message, cancel the event, undo the change, and move the focus to the Phone field.