twzContact - examples

This is the settings file used by these examples. For more information about the settings file, see settings-file.php


  example1.css   example2.css   example3.css   example4.css   example5.css   example6.css   example7.css  

[Email Options]
ToAddress   = formtest@example.com

[Form options]
Caption     = Contact us
Submit      = Send request
PostText    = <p style="clear:both;">Feel free to try out the form - anything you submit won't go anywhere</p>
FieldTips   = text

[Fields]
;field_name = type,cssclass,required,showlabel
text1     = string,subhead
-2        = space,space

SET1 = fieldset
    name          = text, wide, 1
    email         = email, wide, 0
    daytime_phone = phone
END1 = endset

-3       = space,space

SET2 = fieldset
    subject       = select, wide, 1
    comment       = textarea,,1
    send_brochure = check,,0,0
    ____________1 = line
    select_one    = radio1
    -4            = space,space
    security_code = captcha
END2 = endset

isreq = string,isreq

[Field Options]
;field_name = options
text1         = Please contact us by submitting the form below.
SET1          = About you
SET2          = Your request
subject       = =-please select-,web=Web site,advert=Advertising,other=Other stuff
send_brochure = Please send me a brochure,1
select_one    = Yes,No,Maybe*,Other
security_code = grey,,,3
isreq         = * required field

[Field Tips]
daytime_phone = This can be either fixed or mobile phone
comment       = If you can't say something nice, don't say<br />anything at all!
email         = Please check the email address carefully
send_brochure = Tick this box if you want us to send you a free sales brochure

[Message Options]
MsgThanks   = Thanks for testing the form!<br /><br /> &nbsp; &nbsp; <a href="?restart">go back</a>