Permanently add a form field to the custom category
So given the fact that I am in Canada, I would like to be able to add a permanent form field under the custom category - kinda like how the zip code one is already there. I already found a script for the postal code validation as seen here:
event.value = event.value.toUpperCase();
if(event.value != "")
{
// validate Canadian postal code;
event.rc = /^(?!.*[DFIOQU])[A-VXY][0-9][A-Z] [0-9][A-Z][0-9]$/.test(event.value);
if(event.rc == false)
{
app.alert("Please enter a correct Canadian Postal code", 1, 0);
this.resetForm([event.target.name]);
}
}(I found this on another post, created by a helpful member of the community)

With the display of the tooltip here, it sounds like you should be able to add your own custom scripts to this list, but I have no idea how to do it. Any help would be very appreciated! There's quite a few custom scripts that I would finally be able to add to this list.
