I have a form with two text inputs.
One should validate and allow users to enter alphanumeric and few specific special characters as in the below JS code.
The other should validate whether the user entered is valid IPaddress or not.
I have written the below validation.js code and deployed it to appserver/static and modified the xml code of form to include "id" field as I have found in Splunk docs.
I have restarted my Splunk environment and tried _bump. But there's no validation happening with inputs.
Is it not invoking the JS script at all? Is something wrong with the way I have defined the JS and xml?