Professional Web Applications Themes

CFFORM validation trumping Custom Validation - Coldfusion - Advanced Techniques

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....

  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. #2

    Default Re: CFFORM validation trumping Custom Validation

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

  3. #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

Similar Threads

  1. CFFORM Validation trumping Custom Form Validation
    By Beals in forum Macromedia ColdFusion
    Replies: 17
    Last Post: July 19th, 06:40 PM
  2. CFFORM Validation Bug
    By deane_barker in forum Macromedia ColdFusion
    Replies: 1
    Last Post: April 14th, 03:54 PM
  3. Issue with CFform validation
    By Ad Bec in forum Macromedia ColdFusion
    Replies: 1
    Last Post: March 24th, 05:13 AM
  4. CFForm Validation
    By Jomo in forum Macromedia ColdFusion
    Replies: 1
    Last Post: March 9th, 12:53 PM
  5. only custom validation control does server side validation?
    By Colin Mackay in forum ASP.NET General
    Replies: 0
    Last Post: June 25th, 07:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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