validate property

PdfJavaScriptAction? get validate

Gets or sets the JavaScript action to be performed when the field’s value is changed.

Implementation

PdfJavaScriptAction? get validate => _validate;
set validate (PdfJavaScriptAction? value)

Implementation

set validate(PdfJavaScriptAction? value) {
  if (value != null && _validate != value) {
    _validate = value;
    _helper.dictionary!.setProperty(PdfDictionaryProperties.v, _validate);
    _helper.changed = true;
  }
}