Method Response

Namespace TallComponents.PDF.JavaScript.Scripting
Class App

Override this method to provide custom Reponse behavior.

Syntax

protected internal  String  Response( String  question String  title String  defaultAnswer Boolean  isPassword String  label )

Returns

String

The value that the user typed in, or null if the user presses the cancel button. By default this method returns the defaultAnswer.

Parameters


String question
The question.

String title
The title for the dialog window, may be an empty string.

String defaultAnswer
The default answer, i.e. the text box should be prepopulated with this value. This may be null, which indicates that no default has been specified.

Boolean isPassword
Whether the answer is a password. If true, the answer should be masked with asterisks or bullets.

String label
Label to be placed before the edit text field. May be an empty string.