Added a custom validate function

would not save data entered on fields configured to be added to advanced settings