Replaces the Analysis | Comments menu command. |
Replaces the Analysis | Count words menu command. |
Replaces the Analysis | Rank Order menu command. |
Replaces the Analysis | Report menu command. |
Replaces the Analysis | Stats menu command. |
Replaces the Analysis | Summary menu command. |
Replaces the Utilities | Create a blank ASCII file menu command. |
Replaces the Utilities | Create SQL menu command (PRO only). |
Replaces the Custom Text menu command. |
Replaces the Data | Add record menu command |
Replaces the File | Database Setup menu command |
Replaces the Publish | Read email function |
Replaces the Publish | Text/HTML menu command. |
Replaces the Utilities | Import email message files menu command. |
Replaces the Publish | Text email menu command. |
Replaces the File | Export to ASCII menu command in the View/Edit Data windows. |
Replaces the Bulk Email menu command. If typeof(form) == 'undefied', no project is presently open. |
Replaces the Table Wizard dialog. Include form.refreshEditor. |
Replaces the Publish | Administer web site menu command. |
Called by the Advanced button in web site setup to replace the default dialog. |
If present, this event handler replaces EZSurvey's web site generation code. |
Replaces the Publish | Download web data now command. |
Called by the Passwords button in web site setup to replace the default dialog. |
Replaces the web site preview function. |
If present, this event handler replaces EZSurvey's web site generation code. Has a lower priority than askWebCreate. |
Called by the SQL button in web site setup to replace the default dialog. |
Replaces the web site appearance dialog. |
Runs when data are imported from the web or email. database.selectedQuestion is set to the first row of new data in the database. |
Called after askDatabaseSetup() runs, and after the database has been reloaded. In the plugin, write <script name=onDatabaseSetup validate=1 database=1> do_something(); form.refreshEditor = true; </script> |
Called after a Palm form is created, but before the instructions are printed. |
Runs when the program starts. |
If the default EZS web page generation is used, this is run after the web site files are set up, but before the WEB.ODBC.MAKESQL option is processed. |
Replaces the internal email parsing and importing function. This will be called if askEmailFetch is not installed. Pre-set variables are form, database, and files, a list of file names to parse. |
title | Dialog box title |
file name | Default file name |
file types | String of the form "Data Files|*.DAT|" |
Shows a dialog box to prompt for a file name. |
title | Dialog box title |
file name | Default file name |
file types | String of the form "Data Files|*.DAT|" |
Shows a dialog box to prompt for a file name. If the file exists, the user will be asked whether the file may be overwritten. |
handle | Window handle from openFile(), openText(), or openHTML() |
Asks the specified window to close itself. Returns true if successful. |
out | Output stream |
in | Form |
Creates a tab-delimited list of fields. |
dirname | Full path name |
Same as makeDirectory. |
form | The form |
driver | Driver name: ORACLE, WATCOM, MS, DB2, or ACCESS |
table name | New table title (schema.table) |
Returns the SQL commands necessary to create the table. May throw an exception if there could be a problem with the SQL code. |
password | Encrypted password |
The SCP password is encrypted in the form file. Use this function to decode it. |
,Opens the mail editor message. Here, you may attach files, as user intervention required before sending. |
form | EZF file name or stream containing an Electronic Form System document. |
data | Initial data to populate the form with. If not specified, a new record is created |
If data entry was successful (OK/SAVE selected), returns a Record object with the form data. If unsuccessful, returns a null object. |
form | Form |
in | Input table |
out | Output table |
random ids? | Generate random ids? |
index | Output table |
fields | Columns to export (blank for all) |
Useful for initializing ASC files. |
handle | Window handle from openFile(), openText(), or openHTML() |
Returns true if the window is still open. |
form | Form object |
data | Data |
Reformats date, time, number questions. If the form is marked as anonymous, the HOST field is replaced with a hash value. |
form | The form |
template | Template |
javascript | Is client-side validation to be used? Default=false. |
Returns a EZSPage object, containing all questions on one page. |
form | The form |
template | Template |
javascript | Is client-side validation to be used? Default=false. |
Returns an array of EZSPage objects. |
form | The form |
Returns a text representation of the online form. |
Returns the filename without the type extension. ezsurvey.getFileBase('\\path\foo.bar') returns '\\path\foo' |
dialog | Output form |
form | Input form |
question | Question index (starts at 0) |
titles | Include page titles? |
Builds a list of questions to describe question options in EZSurvey. |
Returns the Windows temporary directory path. |
dirname | Full path name |
Builds a directory tree. |
prompt | Dialog box text |
Shows a dialog box with Yes and No buttons. Returns "YES" or "NO" |
prompt | Dialog box text |
Shows a dialog box with Yes, No, and Cancel buttons. Returns "YES", "NO", or "CANCEL" |
prompt | Dialog box text |
Shows a dialog box with Yes and No buttons. Returns "YES" or "NO" |
prompt | Dialog box text |
Shows a dialog box with Yes, No, and Cancel buttons. Returns "YES", "NO", or "CANCEL" |
filename | File name |
EZSurvey uses the file extension to determine what type of window to display. Returns an integer handle identifying the window, or zero if no window was created. |
text | Stream containing HTML |
title | Title |
Opens a web browser window. The document is associated with the current project, and will close when the current project's form editor closes. Use openFile() instead if you want to open a URL. Returns an integer handle identifying the window, or zero if no window was created. |
text | Stream containing text |
title | Title |
Opens a text edit window. The document is associated with the current project, and will close when the current project's form editor closes. Use openFile() instead if you want to open a text file. Returns an integer handle identifying the window, or zero if no window was created. |
input | Template data |
template | Template data |
form | Form |
template | Template data |
recip | Recipient |
subj | Subject |
note | Text note |
html | HTML note |
,To reduct the virus risk, you can't attach files. To send mail with attachments, instead create a new Mail object (password required) and use its send() function |
options | form.options |
Returns null if the user cancels the dialog box. Otherwise, it returns a Record (which may be empty) storing the HTML template. |
text | English text |
Looks up the message in the RSRC/LANGUAGE.XML (if available) and returns the translation if available. If no translation is used, or the translation table is missing this message, it returns the input string. |
current | Current position |
max | Total process length |
title | Update the caption |
Shows and updates the progress dialog. Use updateProgress(0,0,'title') to change the progress box text. It takes longer to update the text than it does to redraw the progress bar. |
URL | scp://username:password@host/directory/ |
source | Source file name (fully-qualified) |
destination | Destination file name (relative to the URL directory) |
Uses SCP to transmit files. SCP is controlled by a separate program, and monitored by a new window. Sorry, no return value to indicate success. The file will probably not finish sending before the function returns. |
URL | scp://username:password@host/directory/ |
files | List of (source=destination) |
Transmits a list of files successively with SCP. |