Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public interface Prompt.Validator

Checks an answer before a text prompt accepts it.

Methods

public abstract String validate(String value)Null to accept value, otherwise the message shown under the prompt while the person corrects it.

Method details

validate

public abstract String validate(String value)
Null to accept value, otherwise the message shown under the prompt while the person corrects it.