We presume you already know fundamentals of HTML and form building. Form syntax and attributes used by Platinum software conforms to HTML 3.2 specification. We did not introduce any new notions or concepts.
All form elements can be set as "input" with types "hidden", "radio", "text", "checkbox" and as "select".
element
|
default value |
req.
|
allowed
|
contents
|
---|---|---|---|---|
postcard_action | NA | yes | "receive", "send", "preview" | type of action to perform |
ticket | NA | no | any | postcard number |
later | "now" | no | defined in "later.txt" | when to send cards, can be either "now" or date in format defined in "later.txt" |
config | "magic" | no | any | selected configuration, allows you to use other that in default magic.txt configuration settings. Explained in "customization" section. |
filename | "none" | no | any | postcard image name if extension is ".jav"- plain text file will be embedded instead of image (see applet.jav in POETRY_DIR) |
heading | "none" | no | any | heading text, can be used for input of any other data, including pictures |
sound sound_c |
"none" | no | any | postcard sound, some peculiarities of usage are explained in "customization" section |
poem | "none" | no | any | embedded poetry files (MAX size - 20 kb) |
text | NA | no | text input, 20 kb MAX | in case of empty input will print "no text entered" No input restrictions, HTML tags are allowed. For security reasons quotes within HTML tags will be deleted. |
signature | "none" | no | any | signature text, can be used for input of any other data, including pictures |
fcolor | color="black" | no | color name | color="value", where value = font color in valid HTML format (both HEX and mnemonic) |
bcolor | bgcolor="white" | no | color name | bgcolor="value", where value = background color in valid HTML format (both HEX and mnemonic) |
SENDER | NA | no | any | name of card sender, in case of empty input will print "anonymous" |
recipient | NA | yes | any | name of card recipient |
SENDEREMAIL | NA | yes | any (valid syntax) | email address of sender, syntax is validated (format "xxx@yyyy.zzz", where "xxx" and "yyyy" can contain periods, but not commas or spaces, multiple addresses are not acceptable) |
NA | yes | any (valid syntax) | email address of recipient, syntax is validated (format "xxx@yyyy.zzz", where "xxx" and "yyyy" can contain periods, but not commas or spaces, multiple addresses are not acceptable) | |
body | NA | no | any | background image, can be used for input of any other data |
stamp | NA | no | any | second picture, can be used for input of any other data |