The Smart Form Mailer

Back to SEND IT! Technical Reference Guide

This is an example of using checkboxes. The value of a check box is not sent to SEND IT! unless it is checked. So if you use a checkbox in a template a default value should also be provide so as to replace the place hold for the checkbox in the template or refer page.

To see what the refer or confirmation page looks like before being used by SEND IT! click here.

 

Check Box 1 (Field Name Check1) If you check this the value Yes will be sent. If not checked the default value "Check 1 not checked" will be used. A default value is defined by using a hidden field of the same name prefaced with def.

Check Box 2 (Field Name Check2) This field does not have a default value. If it is not checked then the placeholder ( [Check2] )will not be replaced in the template or refer / confirmation page.

Check Box 3 (Field Name Check3) If checked the value sent will be Yippie, otherwise the default value of "A bummer" will be used.

 

View the source of  this example to see how the defaults were defined for Check Box 1 and Check Box 2.