Message options

The [Message options] settings define the text of messages shown to the user (web site visitor).

The format each setting in this section is

keyword = message-string

The message-string may contain HTML tags (see examples below)

Keywords

The following keywords are recognised. If you don't include the keyword in your settings file, its default will be used.

KeywordDescriptionDefault
FldMissing text to display if the visitor misses a required field (- for none) <b>%Field%</b> is missing.
FldEmailBad text to display if the visitor enters an invalid email address (- for none) You did not enter a valid <b>%Field%</b>.
FldTagFound text to display if the visitor enters text containing HTML tags (- for none) <b>%Field%</b>: we don't accept submissions containing markup tags.
FldNumeric text to display if the visitor enters something strange when it should be a number <b>%Field%</b> must be a number.
FldMin text to display if the visitor enters a value too low (for field types number, integer, amount) <b>%Field%</b> must be at least %Min%.
FldMax text to display if the visitor enters a value too high (for field types number, integer, amount) <b>%Field%</b> can't be more than %Max%.
FldBadType text to display if the visitor uploads a file of an unacceptable type (as defined in a file's field options) <b>%Field%</b>: uploaded file was an unacceptable type.
FldBadDate displayed if the visitor types an incorrect date (only for 'calendar' fields where NRO sub-option is present) <b>%Field%</b> is not a valid date.
FldCaptcha displayed if the visitor enters an incorrect captcha code <b>%Field%</b> was incorrect.
MsgThanks message to display to the visitor after the form is successfully submitted Thanks - your message was successfully received.
MsgMissing (start of) message to display to the visitor if one or more fields were missing Please check the form - the following fields had a problem:
MsgError message to display to the visitor if an error occurs when sending the email Sorry, there was a technical problem with delivery of your message. <br /><br />
Please email your message to <a href="mailto:%ToAddress%">%ToAddress%</a>

Special placeholders

The Fld-- settings can contain this special placeholder:

%Field% is replaced with the name of the relevant field

FldMin and FldMax can also contain these special placeholders:

%Min% is the minimum value allowed
%Max% is the maximum value allowed

The MsgError setting can contain the placeholder:

%ToAddress% is replaced with the value of the ToAddress setting in the Email options section

Examples

[Message Options]

FldMissing  = You need to supply <b>%Field%</b>.
FldEmailBad = Please check the email address.

If you don't want to list all missing fields:

[Message Options]

FldMissing  = -
FldEmailBad = -
MsgMissing = Please check the highlighted fields and re-submit.