OPNsense Forum

English Forums => Development and Code Review => Topic started by: bobbis on September 16, 2017, 06:35:54 PM

Title: HelloWorld Example cant save
Post by: bobbis on September 16, 2017, 06:35:54 PM
Hi, i just want to test the HelloWorld Plugin from the developer repo under opnsense 17.7.2, i copied all files in place but if i try to save something under !HelloWorld , it tells me:

Input validation
Please correct validation errors in form

{
  "result": "failed",
  "validations": {
    "helloworld.general.SMTPHost": "please specify a valid network segment or address (IPv4/IPv6) ",
    "helloworld.general.ToEmail": "please specify a valid email address",
    "helloworld.general.Description": "text validation error"
  }
}


i gave:
Enable [x]
127.0.0.1
sample1@example.com
sample2@example.com
description


whats wrong ?

Title: Re: HelloWorld Example cant save
Post by: bobbis on September 16, 2017, 07:00:32 PM
strange: with palemoon i am not able to save but with chromium it works .....
Title: Re: HelloWorld Example cant save
Post by: franco on September 18, 2017, 09:16:43 AM
It's probably a jQuery compatibility issue:

https://jquery.com/browser-support/


Cheers,
Franco