Password Confirmation using cfform CFMX7 (flash form)

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

  1. #1

    Default Password Confirmation using cfform CFMX7 (flash form)

    Im trying to validate with cfform (flash form) using CFMX 7, the field PASSWORD and RE-PASSWORD with FLASH FORMS.

    Any idea??

    Regards
    vampire_mexico Guest

  2. Similar Questions and Discussions

    1. Want to output confirmation message in cfform
      Hello, I'm building my first application using CF. I have a members area where I'm using the cfform to allow the members to send emails to anyone....
    2. CFMX7 cfform format Flash on IIS 6 Prblem
      CFMX7 cfform format Flash on IIS 6 with Verify that file exists enabled does not work. I have followed technoteabout Windows file permissions at,...
    3. CFFORM CFMX7 and Flash
      I recently upgraded to CF MX7. The new Flash printing works like a charm...but the new CFFORM fails if I set format equal to flash. It works...
    4. confirmation of cfinput bug [cfmx7]
      Just to let you know i've only been programming cf in my spare time for a couple of months, but I think ive found a bug in the tooltip argument for...
    5. CFMX7 flash format CFFORM and Javascript
      the getURL actionscript function worked for me. onclick=getURL('javascript:myfunction()')>
  3. #2

    Default Re: Password Confirmation using cfform CFMX7 (flash form)

    I need more information, what do you mean validation the form? required?
    string check? etc..

    can you post a code example of what you are trying to do.
    ---nimer

    "vampire_mexico" <webforumsuser@macromedia.com> wrote in message
    news:cv0a06$5hc$1@forums.macromedia.com...
    > Im trying to validate with cfform (flash form) using CFMX 7, the field
    > PASSWORD and RE-PASSWORD with FLASH FORMS.
    >
    > Any idea??
    >
    > Regards

    Mike Nimer Guest

  4. #3

    Default Re: Password Confirmation using cfform CFMX7 (flashform)

    This is a start... <cfsavecontent variable='cf_validate'> if( (password.text
    != '' &amp;&amp; password2.text != '') &amp;&amp; password.text !=
    password2.text ) alert('Passwords do not match'); </cfsavecontent> <cfform
    format='flash' width='250' action='javascript:void(0);' target='remote'>
    <cfinput type='password' name='password' label='Password' required='yes'
    message='Enter Password'> <cfinput type='password' name='password2'
    label='Confirm Password' required='yes' message='Confirm Password'> <cfinput
    type='submit' name='checkpassword' value='check password'
    onclick='#cf_validate#'> </cfform> The only problem is that I cannot stop the
    form from submitting yet...

    jorgeloyo Guest

  5. #4

    Default Re: Password Confirmation using cfform CFMX7 (flash form)

    use a button, instead of a submit and call the submitForm() method yourself

    <cfsavecontent variable='cf_validate'>
    if( (password.text != '' && password2.text != '') && password.text !=
    password2.text ){ alert('Passwords do not match') } else { submitForm() };
    </cfsavecontent>

    <cfform format='flash' width='250' action='javascript:void(0);'
    target='remote'>
    <cfinput type='password' name='password' label='Password' required='yes'
    message='Enter Password'>
    <cfinput type='password' name='password2' label='Confirm Password'
    required='yes' message='Confirm Password'>
    <cfinput type='button' name='checkpassword' value='check password'
    onclick='#cf_validate#'>
    </cfform>


    hth,
    ---nimer

    "jorgeloyo" <webforumsuser@macromedia.com> wrote in message
    news:cv2ot5$s63$1@forums.macromedia.com...
    > This is a start... <cfsavecontent variable='cf_validate'> if(
    > (password.text
    > != '' &amp;&amp; password2.text != '') &amp;&amp; password.text !=
    > password2.text ) alert('Passwords do not match'); </cfsavecontent>
    > <cfform
    > format='flash' width='250' action='javascript:void(0);' target='remote'>
    > <cfinput type='password' name='password' label='Password' required='yes'
    > message='Enter Password'> <cfinput type='password' name='password2'
    > label='Confirm Password' required='yes' message='Confirm Password'>
    > <cfinput
    > type='submit' name='checkpassword' value='check password'
    > onclick='#cf_validate#'> </cfform> The only problem is that I cannot stop
    > the
    > form from submitting yet...
    >

    Mike Nimer 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