Skip to main content
Inspiring
February 16, 2007
Question

default value for checkbox

  • February 16, 2007
  • 1 reply
  • 337 views
Do checkboxes have a default value?
So If I am using a <cfif> statement, if the checkbox is unselected what would the value be?

many thanks
This topic has been closed for replies.

1 reply

Inspiring
February 16, 2007

you set it with the value want via the checked augment of input

<input name="Focus" type="radio" value="General" checked >

--