CheckBox required on form?

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default CheckBox required on form?

    I have a form, and we need to have a checkbox that the user is required to
    check. Basically saying they read the disclaimer.

    Is there a way to make a checkbox a required field on a form? I've been
    searching and everything I see, seem to exclude checkboxes.

    So thought I would ask, and make sure.

    Thanks
    Chris.

    cdoyle Guest

  2. Similar Questions and Discussions

    1. How do I use the form checkbox value?
      I'm creating a form that has multiple checkboxes. I want to use ActionScript to update a text box/area with the values each checkbox as the checkbox...
    2. Flash Form & Checkbox
      I'm having trouble changing this listbox code to checkboxes instead. Can you help? <cfselect name="binderyID" label = "Bindery Type"...
    3. Checkbox value in MX7 Flash Form
      I am testing multi-tab forms in MX7 using the last example from the HTML documentation for the cfformgroup tag. The cfdump just shows whether each...
    4. Checkbox Set To OFF Not In Request.Form
      When using checkboxes on a form, if you uncheck them, the unchecked name/value pair in the Request.Form collection doesn't show up. It only shows...
    5. Yes/No checkbox in the form
      I have a field called action in a table, to check if something requires action the user must check the box. The field in the table is defined as a...
  3. #2

    Default Re: CheckBox required on form?

    I'm guessing it's not possible?

    Anyone have a better solution to do what I need?

    cdoyle Guest

  4. #3

    Default Re: CheckBox required on form?

    one option is to verify the checkbox is selected before the form is
    submitted using JS (checked property = true)

    cdoyle wrote:
    > I have a form, and we need to have a checkbox that the user is required to
    > check. Basically saying they read the disclaimer.
    >
    > Is there a way to make a checkbox a required field on a form? I've been
    > searching and everything I see, seem to exclude checkboxes.
    >
    > So thought I would ask, and make sure.
    >
    > Thanks
    > Chris.
    >
    John Doe Guest

  5. #4

    Default Re: CheckBox required on form?

    Thanks,
    Would you happen to know of any JS's off hand?

    I tried looking for one before posting here, but all the ones I found, for
    some reason wouldn't work witha checkbox. Not sure why, or if I just didn't
    do something right. They would work with text boxes, and even radio buttons,
    but not a checkbox.



    cdoyle Guest

  6. #5

    Default Re: CheckBox required on form?

    Found one that works,
    for anyone else looking for one.

    [url]http://mediazeal.com/checkbox-validator.htm[/url]

    Is the one I used.
    cdoyle Guest

  7. #6

    Thumbs up JS Works Great for CheckBox required on form

    Thanks A MILLION for the link. I have been struggling with this for about 4 hours until I found your post! You're a life saver!
    Katherine Crane is offline Junior Member
    Join Date
    Jun 2011
    Posts
    1

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139