Does anybody know if it is possible to validate the forms in Ruby?
According to the Jenkins wiki, this is what's supposed to be
implemented (FIELD is supposed to be exchanged for the field name):

public FormValidation doCheckFIELD(@QueryParameter String value) {
    if(looksOk(value))
        return FormValidation.ok();
    else
        return FormValidation.error("There's a problem here");
}

How would you do this in Ruby? How do you handle the QueryParameter?
The @ would make it an intstance variable. (What is a Queryparameter?)

Any help would be much appreciated!

/Jonatan

Reply via email to