Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/2019 in all areas

  1. Use the version here. There's not an automated migration, typically you'll need to create new packages and replacement services but you can uncheck the "Use Module" option when adding the DA service so that it doesn't try to create it through your server. Then edit the service and make sure the username is correct and if not, adjust and save again with "Use Module" unchecked.
    1 point
  2. You'll need to escape characters for JSON when entering them manually. In your example, the backslashes should be escaped: /((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\\W_]).{6,18})/i
    1 point
  3. In the Universal Module, you can define service options, which are fields that customers can enter when they order a service. You mentioned using regular expressions to validate the input, which you can do by defining them in the "Input Rules" section for each of your fields as described in the Universal Module documentation. e.g. { "hostname":{ "valid":{ "rule":["matches", "/^[a-z0-9]{1,24}$/i"], "message":"Please enter an alphanumeric hostname between 1 and 24 characters in length." } }, "password":{ "valid":{ "rule":["matches", "/^[a-z0-9\\!\\@\\#\\$\\%\\^\\&\\*\\(\\)\\+\\_\\-\\=]{10,24}$/i"], "message":"Please enter an alphanumeric password between 10 and 24 characters in length. You may also include any of the following characters: !@#$%^&*()+_-=" } } } My example does not enforce a minimum 1 lower case character, 1 upper case character, or 1 digit, but you can update the regular expression to whatever you need.
    1 point
×
×
  • Create New...