I want to make a new field "untick box if you do not want to receive the e-newsletter' I am using Freeform Pro
Is this possible?
Thank you
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityWouldn't you just use a checkbox??
http://www.solspace.com/docs/freeform/default_fieldtypes/#checkbox
Of course you'll want to work your caption carefully (untick to ...) and you probably want to render the checkbox yourself instead of letting freeform do it, so you can set it to checked to start with
<input type="checkbox" id="freeform_field_id" name="freeform_field_id" value="Y" {if '{freeform:value:optin}' == 'Y'}checked=checked{/if} />
Also, see here : FreeForm PRO checkbox requied field its not got an answer ticked but is relivent.
And here : Any way to pass a checkbox value in Freeform (not Pro version)?