0

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

1 Answer 1

0

Wouldn'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)?

1
  • No problem, if it helps you solve then please mark a the answer so others can find the solutions.
    – Blatant
    Apr 22, 2015 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.