Allow custom value for checkboxes

The checkbox element for forms has two values by default–true and false.

It would be beneficial to be able to set custom values beyond the default. This could be useful for ecommerce platforms that work off of Webflow's form. 

  • Brandon Roche
  • Apr 25 2017
  • Frederico Leonardo commented
    3 Aug, 2022 10:01am

    <input type="checkbox" value="somevalue"> is a thing, Webflow! You already have that for radio inputs.

  • Charlie Bradford commented
    6 Feb, 2020 11:00am

    I need this to help with my HubSpot API integration.

    I have a HubSpot contact property of 'what features do you want to learn more about' with checkboxes for each feature.

    sending my forms across with only true or false instead of the correct checkbox name doesn't add the property to my contact as it is an incorrect value

  • Israel Torres commented
    12 Dec, 2019 01:50pm

    Yes, please

  • Oscar Lopez commented
    12 Dec, 2019 01:35pm

    I agree that each checkbox item should have its own return value. As of right now it's confusing to just display "on"

  • Steff Miller commented
    12 Dec, 2019 01:29pm

    Yes, please.

  • Nina Martinez commented
    12 Dec, 2019 01:28pm

    As of now, the checkboxes only return a value of "on". I would be great  if it returned a custom value of whatever the the checkbox text label said, and have them set up the way the radio buttons are, for example: radio buttons are all grouped together by the same name, then each radio button gets it's own value, which it's plainly shown in the form submissions (i.e. Services Requested: Consultation)

  • TRUE commented
    23 Aug, 2019 02:34pm

    Same here – we need to be able to return "Yes" 

  • Nick commented
    13 Nov, 2018 06:53pm

    I would like able to make the value a number for the purpose of making real-time form calculations with custom code. For instance, if an option is worth $5, I can make the value 5, and add that number to the total when checked.

  • LaDale Juniel commented
    30 Jun, 2017 04:37pm

    Values such as "Yes" or "No" instead of "True" or "False" would be a good example.

  • Admin
    Webflow Team commented
    12 May, 2017 12:06am

    Can you provide some examples? 

  • +26