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
    August 03, 2022 10:01

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

  • Charlie Bradford commented
    February 06, 2020 11:00

    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
    December 12, 2019 13:50

    Yes, please

  • Oscar Lopez commented
    December 12, 2019 13:35

    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
    December 12, 2019 13:29

    Yes, please.

  • Nina Martinez commented
    December 12, 2019 13:28

    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
    August 23, 2019 14:34

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

  • Nick commented
    November 13, 2018 18:53

    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
    June 30, 2017 16:37

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

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

    Can you provide some examples? 

  • +26