


All of the forms elements Pueblo supports are documented in this help file.
They’re listed in the ‘Also see’ section at the bottom of this page.
Note: The default PUEBLOFORM command includes a trailing space to separate the
command name from the form results. If you don’t specify this trailing space, the
form results are immediately appended to the command.
If you have the right privileges on your server, you can change the command
sent to your world. To do this, specify the MD5 attribute on the
The specified ACTION will only be used if the MD5 attribute matches the MD5
specified by the client. If the MD5 does not match, then the command PUEBLOFORM
will be sent.
...
</form>
Note: If you have access to the MD5 value for the user, you can specify your own
command to use instead of PUEBLOFORM. See the previous section of this document.
The ‘value’ portion of the form data is encoded according to a few simple
rules:
What's your first name? <INPUT TYPE="text" NAME="name"><BR>
<P>
What's your favorite color? <SELECT NAME="color">
<OPTION>black
<OPTION>burnt umber
<OPTION>forest green
<OPTION>indigo
</SELECT>
<P>
<INPUT TYPE="submit" VALUE="Okay!">
</FORM>
Chaco may already have code available to decode this information for your
world server. Surf to
Note: Previously, Pueblo allowed HTML programmers to specify the command which was
sent back to the world server. This was a security risk on some MUD servers, so
we've removed that behavior in favor of the PUEBLOFORM command. A future
version of Pueblo will include improved security features so that world server
authors can specify the command to be used by their forms in a secure way.
Creating and using HTML dialogs
The name= tag specifies the name of the dialog pane. This can be any name you choose,
and should be unique for the dialog. In this example, I’m using the name “my
dialog”. The name is important when you wish to close the dialog.
The width= tag here specifies an optimal width for the dialog. I’m using 640 pixels
since that’s the smallest resolution folks use these days.
The options= tag includes the fit option. This ensures that the dialog will be sized to properly fit the
fields you’ve specified. Use this. It looks good.
The options= tag should not include the noclose option. You want the user to be able to close the dialog. See the
discussion of this below.
Spaces are changed to plusses (‘+’)
Non-alphanumeric characters are encoded into hexadecimal notation. These
characters are encoded by a character triplet consisting of the character "%"
followed by the two hexadecimal digits (from "0123456789ABCDEF") which forming the
hexadecimal ASCII value of the character. (The characters "abcdef" may also be
used in encodings.)
Alphanumeric characters (a-z, A-Z, 0-9) are not encoded.
| Form Elements:
| <form>
| <input>
| <option>
| <select>
| <textarea>
|