Hi,
I am developing a Jenkins Plugin and have encountered an issue related to saving configurations on the “Manage Jenkins > System” page.
I have implemented several form validations on the page. However, even when these validations fail, the system still allows the form to be saved.
I understand that we can use the configure
method for server-side validation, like this:
@Override
public boolean configure(StaplerRequest req, JSONObject formData) throws FormException
Is there a way in Jenkins to display a pop-up window notifying users of unresolved form validation errors, preventing them from saving the form until all issues are corrected?