title: Custom Validation for item in Google Forms
body: <p>I would like to set a custom validation rule on a text item in Google Forms via Apps Script. Specifically, I need the value to consist of 10 digits and the whole number to be divisible by 11. As far as I know, <code>FormApp.createTextValidation()</code> doesn't support custom rules, all I can do is to choose one option from <a href="https://developers.google.com/apps-script/reference/forms/text-validation-builder" rel="nofollow noreferrer">Apps Script's TextValidationBuilder doc</a> (eg. number to be equal to, less than, within a specific range etc.)</p>
  <p>I cannot provide any code sample since I was trying the approach described in the documentation mentioned above. Any suggestions would be highly appreciated!</p>