CFFORM validation trumping Custom Validation

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFFORM validation trumping Custom Validation

    Is there any way for custom form validation to work in concert with the cfform
    validation?

    I have a custom script that compares the values of two select boxes which
    works just fine when useing the <form> tag. Once I switch that over to use some
    of the <cfform> validation, my OnSubmit value in the <cfform> tag is rewritten
    on parsing to be the CF validator. Thus my script does not get run.

    Any ideas beyond doing all the validation in the custom script?

    Thanks.

    Beals Guest

  2. Similar Questions and Discussions

    1. CFFORM Validation trumping Custom Form Validation
      Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two...
    2. CFFORM Validation Bug
      I'm using CFFORM and CFINPUT. I have several fields set to "required='yes'". It works fine in Firefox. However, in Internet Explorer, it's off...
    3. cfform validation and pop up error
      hi, i have two javascript functions. One is for email validation and the other to initiate a pop up window with a confirmation. <script...
    4. CFForm Validation
      Hi, This is a cfform validation question. How do I verify that the value entered in the "confirm password" box is the same as that entered in...
    5. only custom validation control does server side validation?
      On a CustomValidator you have to provide the validation code because otherwise it doesn't know what to do for the validation. Other validator...
  3. #2

    Default Re: CFFORM validation trumping Custom Validation

    I'm having the same problem. Did you ever find a solution to this?
    drmaves Guest

  4. #3

    Default Re: CFFORM validation trumping Custom Validation

    If you search google groups for "CFFORM ONSUBMIT" there are tons of posts on this topic. You might want to check there. HTH
    mxstu Guest

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