<neos:token> |
required |
The name of this input.
This is the name of the XML tag that will be used when submitting a job
via XML-RPC or email. When using the web submission form,
kestrel, or the Java submission tool, the token name will be hidden
from the user. |
<neos:filename> |
required |
This indicates the name of the
file that the value of the input will be stored in. When writing
the driver to run your solver, you need to read this file to get the
desired value |
<neos:prompt> |
optional |
The prompt that the user will
see when using the web submission form or the Java submission tool. |
<neos:help> |
optional |
A message to explain what the
input is used for and any instructions for the user. |
<neos:default> |
optional |
The default setting for this
option. Not applicable for radio buttons or files. |
<neos:input TYPE="textarea">
<neos:token>mytext</neos:token>
<neos:filename>mytextfile</neos:filename>
<neos:prompt>Enter some text</neos:filename>
<neos:help>This is an example of using a
textarea</neos:help>
<neos:default>Default Text</neos:default>
</neos:input>
<neos:input TYPE="textbox">
<neos:token>mytext</neos:token>
<neos:filename>mytextfile</neos:filename>
<neos:prompt>Enter some text</neos:filename>
<neos:help>This is an example of using a
textbox</neos:help>
<neos:default>Default Text</neos:default>
</neos:input>
<neos:input TYPE="file">
<neos:token>samplefile</neos:token>
<neos:filename>mysamplefile</neos:token>
<neos:prompt>File:</neos:prompt>
<neos:help>This is an example of using a
file</neos:help>
</neos:input>
<neos:input TYPE="checkbox">
<neos:token>samplecheckbox</neos:token>
<neos:filename>mycheckbox</neos:filename>
<neos:prompt>Check me</neos:prompt>
<neos:help>This is an example of using a
checkbox</neos:help>
<neos:default>yes</neos:default>
</neos:input>
<neos:input TYPE="radio">
<neos:token>selection</neos:token>
<neos:filename>selectionfile</neos:filename>
<neos:prompt>Make a selection</neos:prompt>
<neos:help>This is an example of how to formulate a radio
button.</neos:help>
<neos:option value="value1">Select value
1</neos:option>
<neos:option value="value2" default="true">Select value
2</neos:option>
</neos:input>
Note the addition of the <neos:option>
tag. The value
attribute determines the text
entered into the file 'selectionfile', the text inside the tag will be
displayed for choosing the option, and setting the optional default
attribute to true will cause the option to be the default
selection. For the Web submission form, this will result in a
form that
looks like this: