Users can now add custom validation rules to their forms. These validation rules can be applied to text questions. To create a custom validation URL follow these steps:
1) Create a process that can receive an HTTPS GET request that implement HTTP Basic Authentication.
2) Send Web Services the user ID and password to your HTTP Basic Authentication URL. If there is an error with the user ID or password please send back an HTTP status message of 401.
3) Send us the URL to access your GET request. The URL should contain {fieldValue}. We will replace this variable with the HTML escaped content the person enters from the text field in the form.
4) Pass back to us the string "ok" if the field passes the validation. If it does not, then pass us an error message in an HTML escaped format.
5) Provide us with the validation message name that will appear in order to select it when editing a text type question.
6) Give us the ID of a security group in the Group Manager. Make sure to populate the group with members. This group contains the people that can use your validation rule.
These are some example URLs you might share with us:
https://xyz.illinois.edu?accountId={fieldValue}
https://xyz.illinois.edu/abc/123?emailAddress={fieldValue}
This document is subject to change.